org.apache.commons.math3.analysis.polynomials
Class PolynomialFunctionNewtonFormTest

java.lang.Object
  extended by org.apache.commons.math3.analysis.polynomials.PolynomialFunctionNewtonFormTest

public final class PolynomialFunctionNewtonFormTest
extends Object

Test case for Newton form of polynomial function.

The small tolerance number is used only to account for round-off errors.

Version:
$Id: PolynomialFunctionNewtonFormTest.java 1383437 2012-09-11 14:42:44Z luc $

Constructor Summary
PolynomialFunctionNewtonFormTest()
           
 
Method Summary
 void testDerivative()
          Test for derivatives.
 void testLinearFunction()
          Test of polynomial for the linear function.
 void testParameters()
          Test of parameters for the polynomial.
 void testQuadraticFunction()
          Test of polynomial for the quadratic function.
 void testQuinticFunction()
          Test of polynomial for the quintic function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolynomialFunctionNewtonFormTest

public PolynomialFunctionNewtonFormTest()
Method Detail

testLinearFunction

public void testLinearFunction()
Test of polynomial for the linear function.


testQuadraticFunction

public void testQuadraticFunction()
Test of polynomial for the quadratic function.


testQuinticFunction

public void testQuinticFunction()
Test of polynomial for the quintic function.


testDerivative

public void testDerivative()
Test for derivatives.


testParameters

public void testParameters()
Test of parameters for the polynomial.



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.