Class AccurateInterpolatingPolynomialEstimatorTest
java.lang.Object
com.irurueta.numerical.interpolation.AccurateInterpolatingPolynomialEstimatorTest
-
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
(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
-
AccurateInterpolatingPolynomialEstimatorTest
AccurateInterpolatingPolynomialEstimatorTest()
-
-
Method Details
-
estimate_whenFirstDegree_returnsExpectedResult
@Test void estimate_whenFirstDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimate_whenSecondDegree_returnsExpectedResult
@Test void estimate_whenSecondDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimate_whenThirdDegree_returnsExpectedResult
@Test void estimate_whenThirdDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimate_whenFourthDegree_returnsExpectedResult
@Test void estimate_whenFourthDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimate_whenFifthDegree_returnsExpectedResult
@Test void estimate_whenFifthDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimate_whenSixthDegree_returnsExpectedResult
@Test void estimate_whenSixthDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
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
-
estimateCoefficients_whenFifthDegree_returnsExpectedResult
@Test void estimateCoefficients_whenFifthDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
estimateCoefficients_whenSixthDegree_returnsExpectedResult
@Test void estimateCoefficients_whenSixthDegree_returnsExpectedResult() throws com.irurueta.numerical.interpolation.InterpolationException- Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
assertEstimation
private static void assertEstimation(int degree) throws com.irurueta.numerical.interpolation.InterpolationException - Throws:
com.irurueta.numerical.interpolation.InterpolationException
-
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)
-