Class KrigingInterpolatorTest
java.lang.Object
com.irurueta.numerical.interpolation.KrigingInterpolatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertInterpolation(int dim, double error) private static PolynomialbuildPolynomial(double[] roots) private static Polynomial[]buildPolynomials(int dim, double[] roots) private static doubleevaluate(Polynomial[] polynomials, double[] point) (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:
-
ABSOLUTE_ERROR_1
private static final double ABSOLUTE_ERROR_1- See Also:
-
ABSOLUTE_ERROR_2
private static final double ABSOLUTE_ERROR_2- See Also:
-
-
Constructor Details
-
KrigingInterpolatorTest
KrigingInterpolatorTest()
-
-
Method Details
-
interpolate_dim1_returnsExpectedResult
@Test void interpolate_dim1_returnsExpectedResult() throws com.irurueta.algebra.WrongSizeException, InterpolationException- Throws:
com.irurueta.algebra.WrongSizeExceptionInterpolationException
-
interpolate_dim2_returnsExpectedResult
@Test void interpolate_dim2_returnsExpectedResult() throws com.irurueta.algebra.WrongSizeException, InterpolationException- Throws:
com.irurueta.algebra.WrongSizeExceptionInterpolationException
-
assertInterpolation
private static void assertInterpolation(int dim, double error) throws com.irurueta.algebra.WrongSizeException, InterpolationException - Throws:
com.irurueta.algebra.WrongSizeExceptionInterpolationException
-
evaluate
-
buildPolynomials
-
buildPolynomial
-