Class SimpleInterpolatingPolynomialEstimatorTest
java.lang.Object
com.irurueta.numerical.interpolation.SimpleInterpolatingPolynomialEstimatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertEstimation(int degree) private static voidassertEstimationCoefficients(int degree) private static PolynomialbuildPolynomial(int degree) (package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
MIN_VALUE
private static final double MIN_VALUE- See Also:
-
MAX_VALUE
private static final double MAX_VALUE- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
-
Constructor Details
-
SimpleInterpolatingPolynomialEstimatorTest
SimpleInterpolatingPolynomialEstimatorTest()
-
-
Method Details
-
estimate_whenFirstDegree_returnsExpectedResult
@Test void estimate_whenFirstDegree_returnsExpectedResult() -
estimate_whenSecondDegree_returnsExpectedResult
@Test void estimate_whenSecondDegree_returnsExpectedResult() -
estimate_whenThirdDegree_returnsExpectedResult
@Test void estimate_whenThirdDegree_returnsExpectedResult() -
estimate_whenFourthDegree_returnsExpectedResult
@Test void estimate_whenFourthDegree_returnsExpectedResult() -
estimateCoefficients_whenFirstDegree_returnsExpectedResult
@Test void estimateCoefficients_whenFirstDegree_returnsExpectedResult() throws InterpolationException- Throws:
InterpolationException
-
estimateCoefficients_whenSecondDegree_returnsExpectedResult
@Test void estimateCoefficients_whenSecondDegree_returnsExpectedResult() throws InterpolationException- Throws:
InterpolationException
-
estimateCoefficients_whenThirdDegree_returnsExpectedResult
@Test void estimateCoefficients_whenThirdDegree_returnsExpectedResult() throws InterpolationException- Throws:
InterpolationException
-
estimateCoefficients_whenFourthDegree_returnsExpectedResult
@Test void estimateCoefficients_whenFourthDegree_returnsExpectedResult() throws InterpolationException- Throws:
InterpolationException
-
assertEstimation
private static void assertEstimation(int degree) -
assertEstimationCoefficients
- Throws:
InterpolationException
-
buildPolynomial
-