Author: luc
Date: Tue Feb 9 20:07:36 2010
New Revision: 908190
URL: http://svn.apache.org/viewvc?rev=908190&view=rev
Log:
Added a warning in the getCoefficients method documentation for
PolynomialFunctionLagrangeForm. Computation may be ill-conditioned
so this method should be used with care.
JIRA: MATH-341
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java
commons/proper/math/trunk/src/site/xdoc/changes.xml
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java?rev=908190&r1=908189&r2=908190&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java
Tue Feb 9 20:07:36 2010
@@ -133,6 +133,9 @@
* Returns a copy of the coefficients array.
* <p>
* Changes made to the returned copy will not affect the polynomial.</p>
+ * <p>
+ * Note that coefficients computation can be ill-conditioned. Use with
caution
+ * and only when it is necessary.</p>
*
* @return a fresh copy of the coefficients array
*/
Modified: commons/proper/math/trunk/src/site/xdoc/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/changes.xml?rev=908190&r1=908189&r2=908190&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/changes.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/changes.xml Tue Feb 9 20:07:36 2010
@@ -39,6 +39,11 @@
</properties>
<body>
<release version="2.1" date="TBD" description="TBD">
+ <action dev="luc" type="add" issue="MATH-341" >
+ Added a warning in the getCoefficients method documentation for
+ PolynomialFunctionLagrangeForm. Computation may be ill-conditioned
+ so this method should be used with care.
+ </action>
<action dev="luc" type="add" issue="MATH-340" >
Fixed an error in BigFraction multiplication for large numerators that
don't
fit in a primitive int.