|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.analysis.polynomials.PolynomialFunctionLagrangeFormTest
public final class PolynomialFunctionLagrangeFormTest
Test case for Lagrange form of polynomial function.
We use n+1 points to interpolate a polynomial of degree n. This should give us the exact same polynomial as result. Thus we can use a very small tolerance to account only for round-off errors.
| Constructor Summary | |
|---|---|
PolynomialFunctionLagrangeFormTest()
|
|
| Method Summary | |
|---|---|
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 |
|---|
public PolynomialFunctionLagrangeFormTest()
| Method Detail |
|---|
public void testLinearFunction()
public void testQuadraticFunction()
public void testQuinticFunction()
public void testParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||