Javadoc: added warning about wrong usage.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499765 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2013-07-04 14:24:11 +00:00
parent a0b4394bcc
commit cc15aa3895
1 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,14 @@ import org.apache.commons.math3.util.FastMath;
* sub-interval and on each of them performs a
* <a href="http://mathworld.wolfram.com/Legendre-GaussQuadrature.html">
* Legendre-Gauss</a> quadrature.
* Because of its <em>non-adaptive</em> nature, this algorithm can
* converge to a wrong value for the integral (for example, if the
* function is significantly different from zero toward the ends of the
* integration interval).
* In particular, a change of variables aimed at estimating integrals
* over infinite intervals as proposed
* <a href="http://en.wikipedia.org/w/index.php?title=Numerical_integration#Integrals_over_infinite_intervals">
* here</a> should be avoided when using this class.
*
* @version $Id$
* @since 3.1