Class SimpleInterpolatingPolynomialEstimatorTest
java.lang.Object
com.irurueta.numerical.interpolation.SimpleInterpolatingPolynomialEstimatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
assertEstimation
(int degree) private static void
assertEstimationCoefficients
(int degree) private static com.irurueta.numerical.polynomials.Polynomial
buildPolynomial
(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 com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimateCoefficients_whenSecondDegree_returnsExpectedResult
@Test void estimateCoefficients_whenSecondDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimateCoefficients_whenThirdDegree_returnsExpectedResult
@Test void estimateCoefficients_whenThirdDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimateCoefficients_whenFourthDegree_returnsExpectedResult
@Test void estimateCoefficients_whenFourthDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
assertEstimation
private static void assertEstimation(int degree) -
assertEstimationCoefficients
private static void assertEstimationCoefficients(int degree) throws com.irurueta.numerical.interpolation.InterpolationException - Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
buildPolynomial
private static com.irurueta.numerical.polynomials.Polynomial buildPolynomial(int degree)
-