Intro to Java book for scientific computing?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
\Theta
Messages
18
Reaction score
0
Hey everybody,

I need to learn Java for a course I'm taking in the spring(my C++ course fulfills the prereq for our java intro to data structures course) and I need to get a working knowledge of java. I've been reading the book for the class I'm not taking, but it's essentially built around a program that makes it easier for professors to grade(rather than Eclipse), and I was wondering if there was a book out there that would give me a solid foundation that I could use with eclipse to teach myself. Mostly I'm worried about the underlying concepts for the next course- it's harder to grasp them when the examples and exercises aren't in a program you're using.

Thanks!
 
on Phys.org
Thanks for the post! Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
 
Right now I'm reading Kernighan and Ritchie's The C Programming Language. Is there a java equivalent that I can find at the library? I just need a java book that teaches you how to program(mainly with examples aimed at science/engineering) but let's you decide which compiler/environment to use.
 
Last edited:
Hi,
I recommend:
Big Java Late Objects
https://www.amazon.com/dp/1118087887/?tag=pfamazon01-20
, which can teach you how to program but let's you decide which compiler/environment to use.

Advantage: Clear, broad, and good for self-learning. You can read later chapters if you have C background.
Disadvantage: Not many examples on science/engineering but they do exist. I forgot how many though.td21
 
Last edited by a moderator:
Why the heck would you choose Java as a programming language for scientific computing? Rather learn C or [itex]\mathrm{C}^{++}[/itex]. For analytic calculations a computer algebra system like Mathematica is good. For not too time-consuming numerics, Mathematica is even a good choice for that. But Java? I don't get it!