Class BarycentricRationalInterpolatorTest
java.lang.Object
com.irurueta.numerical.interpolation.BarycentricRationalInterpolatorTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
assertInterpolation
(int degree) private static com.irurueta.numerical.polynomials.Polynomial
buildPolynomial
(int degree, double[] roots) (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:
-
SAMPLES
private static final int SAMPLES- See Also:
-
-
Constructor Details
-
BarycentricRationalInterpolatorTest
BarycentricRationalInterpolatorTest()
-
-
Method Details
-
interpolate_whenFirstDegreePolynomial_returnsExpectedResult
@Test void interpolate_whenFirstDegreePolynomial_returnsExpectedResult() throws com.irurueta.sorting.SortingException- Throws:
com.irurueta.sorting.SortingException
-
interpolate_whenSecondDegreePolynomial_returnsExpectedResult
@Test void interpolate_whenSecondDegreePolynomial_returnsExpectedResult() throws com.irurueta.sorting.SortingException- Throws:
com.irurueta.sorting.SortingException
-
interpolate_whenThirdDegreePolynomial_returnsExpectedResult
@Test void interpolate_whenThirdDegreePolynomial_returnsExpectedResult() throws com.irurueta.sorting.SortingException- Throws:
com.irurueta.sorting.SortingException
-
interpolate_whenFourthDegreePolynomial_returnsExpectedResult
@Test void interpolate_whenFourthDegreePolynomial_returnsExpectedResult() throws com.irurueta.sorting.SortingException- Throws:
com.irurueta.sorting.SortingException
-
interpolate_whenFifthDegreePolynomial_returnsExpectedResult
@Test void interpolate_whenFifthDegreePolynomial_returnsExpectedResult() throws com.irurueta.sorting.SortingException- Throws:
com.irurueta.sorting.SortingException
-
interpolate_whenMismatchedLength_throwsIllegalArgumentException
@Test void interpolate_whenMismatchedLength_throwsIllegalArgumentException() -
interpolate_whenNotEnoughSamples_throwsIllegalArgumentException
@Test void interpolate_whenNotEnoughSamples_throwsIllegalArgumentException() -
interpolate_whenTooManyPointsToTakeIntoAccount_throwsIllegalArgumentException
@Test void interpolate_whenTooManyPointsToTakeIntoAccount_throwsIllegalArgumentException() -
assertInterpolation
private static void assertInterpolation(int degree) throws com.irurueta.sorting.SortingException - Throws:
com.irurueta.sorting.SortingException
-
buildPolynomial
private static com.irurueta.numerical.polynomials.Polynomial buildPolynomial(int degree, double[] roots)
-