org.apache.commons.math3.optimization.fitting
Class PolynomialFitterTest
java.lang.Object
org.apache.commons.math3.optimization.fitting.PolynomialFitterTest
public class PolynomialFitterTest
- extends Object
Test for class CurveFitter where the function to fit is a
polynomial.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolynomialFitterTest
public PolynomialFitterTest()
testFit
public void testFit()
testNoError
public void testNoError()
testSmallError
public void testSmallError()
testMath798
public void testMath798()
testMath798WithToleranceTooLow
public void testMath798WithToleranceTooLow()
- This test shows that the user can set the maximum number of iterations
to avoid running for too long.
But in the test case, the real problem is that the tolerance is way too
stringent.
testMath798WithToleranceTooLowButNoException
public void testMath798WithToleranceTooLowButNoException()
- This test shows that the user can set the maximum number of iterations
to avoid running for too long.
Even if the real problem is that the tolerance is way too stringent, it
is possible to get the best solution so far, i.e. a checker will return
the point when the maximum iteration count has been reached.
testRedundantSolvable
public void testRedundantSolvable()
testRedundantUnsolvable
public void testRedundantUnsolvable()
testLargeSample
public void testLargeSample()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.