This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hello,,, I have a quick and simple Q, Does java support Calculus Operations ,,,, esplecially Ingetration if so ,, Please provide the name of the packege and a Method in use,, Any input will be appreciated.
Short answer: no, not with the standard libraries anyway. I'm guessing you're talking about numeric integration, caluculating an area by adding up lots of numbers, rather than analytic integration, where you manipulate a formula to find the antiderivative. The latter is what we learn in calculus class, but doing this with computers isn't that common (though it is possible, and has been done, within certain limits). For numeric integration: if this is for a class, chances are you need to study the course materials and implement a solution yourself. However there are also third-party libraries which perform numeric integration and other analysis for you. Here is a good list. (Note only a few of these are in Java.) I haven't used any of these, but I've heard good things about Colt. However I'm not seeing anything there that does integration. My guess is that the serious numeric computation community hasn't really embraced Java yet - quote possibly because other languages still offer better performance for this sort of thing, and this is one arena where performance is king. But maybe there's other stuff out there that I'm just not finding...
"I'm not back." - Bill Harding, Twister
Joined: Jan 30, 2000
Ah, here is at least one ready-made solution for you. And this looks like a good general resource on numerics in Java. Enjoy... [ October 07, 2003: Message edited by: Jim Yingst ]
Joined: Oct 05, 2003
Thanx Jim, for your response which i consider to be comprehiensive. you're right i meant numerical computing. i just gone quickly throught the links you provided and i should find something useful there. thanx again