tags:

views:

204

answers:

2

Are there any libraries for Java to do numerical integration? I did ask google but failed to find anything, so should I implement my own methods (like trapeze method, simpson's method or whatever, it's been some time since I had my numerical analysis class)?

+3  A: 

Is this what you're looking for? It's a java class that contains the Gauss-Legendre quadrature, trapezoidal rule and Forward and Backward rectangular rules for integration.

Poindexter
Yeah, thanks, it will save me some time.
Zenzen
At zenzen - if this solved your problem, please accept it.
Software Monkey
A: 

See point 4.4 in the description of the Commons Math org.apache.commons.math.analysis.integration package

axelclk