aspose file tools*
The moose likes Java in General and the fly likes Calculus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calculus" Watch "Calculus" New topic
Author

Calculus

A. Shery
Greenhorn

Joined: Oct 05, 2003
Posts: 2
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.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
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
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
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 ]
A. Shery
Greenhorn

Joined: Oct 05, 2003
Posts: 2
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
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 804
Jim -
If I read your signature right:
"I have a catapult. Unless you give me all your money, I will hurl an enormous rock at your head."

So, did this help you get a raise?
[ October 08, 2003: Message edited by: Jeff Bosch ]

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Not so far, but I'm working on it. The sig was inspired by htis thread and a bit of googling.
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
Originally posted by Jim Yingst:
Not so far, but I'm working on it. The sig was inspired by htis thread and a bit of googling.

Quidquid latine dictum sit, altum sonatur


Mani
Quaerendo Invenietis
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calculus