|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.analysis.interpolation.LinearInterpolatorTest
public class LinearInterpolatorTest
Test the LinearInterpolator.
| Field Summary | |
|---|---|
protected double |
coefficientTolerance
error tolerance for interpolating polynomial coefficients |
protected double |
interpolationTolerance
error tolerance for interpolated values |
protected double |
knotTolerance
error tolerance for spline interpolator value at knot points |
| Constructor Summary | |
|---|---|
LinearInterpolatorTest()
|
|
| Method Summary | |
|---|---|
void |
testIllegalArguments()
|
void |
testInterpolateLinear()
|
void |
testInterpolateLinearDegenerateThreeSegment()
|
void |
testInterpolateLinearDegenerateTwoSegment()
|
protected void |
verifyInterpolation(UnivariateFunction f,
double[] x,
double[] y)
verifies that f(x[i]) = y[i] for i = 0..n-1 where n is common length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double knotTolerance
protected double coefficientTolerance
protected double interpolationTolerance
| Constructor Detail |
|---|
public LinearInterpolatorTest()
| Method Detail |
|---|
public void testInterpolateLinearDegenerateTwoSegment()
public void testInterpolateLinearDegenerateThreeSegment()
public void testInterpolateLinear()
public void testIllegalArguments()
protected void verifyInterpolation(UnivariateFunction f,
double[] x,
double[] y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||