Class RadialBasisFunctionInterpolatorTest
java.lang.Object
com.irurueta.numerical.interpolation.RadialBasisFunctionInterpolatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate 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, RadialBasisFunction rbf, 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(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:
-
SAMPLES
private static final int SAMPLES- See Also:
-
ABSOLUTE_ERROR_MQ_1
private static final double ABSOLUTE_ERROR_MQ_1- See Also:
-
ABSOLUTE_ERROR_INVMQ_1
private static final double ABSOLUTE_ERROR_INVMQ_1- See Also:
-
ABSOLUTE_ERROR_THINPLATE_1
private static final double ABSOLUTE_ERROR_THINPLATE_1- See Also:
-
ABSOLUTE_ERROR_GAUSS_1
private static final double ABSOLUTE_ERROR_GAUSS_1- See Also:
-
ABSOLUTE_ERROR_MQ_2
private static final double ABSOLUTE_ERROR_MQ_2- See Also:
-
ABSOLUTE_ERROR_INVMQ_2
private static final double ABSOLUTE_ERROR_INVMQ_2- See Also:
-
ABSOLUTE_ERROR_THINPLATE_2
private static final double ABSOLUTE_ERROR_THINPLATE_2- See Also:
-
ABSOLUTE_ERROR_GAUSS_2
private static final double ABSOLUTE_ERROR_GAUSS_2- See Also:
-
ABSOLUTE_ERROR_MQ_3
private static final double ABSOLUTE_ERROR_MQ_3- See Also:
-
ABSOLUTE_ERROR_INVMQ_3
private static final double ABSOLUTE_ERROR_INVMQ_3- See Also:
-
ABSOLUTE_ERROR_THINPLATE_3
private static final double ABSOLUTE_ERROR_THINPLATE_3- See Also:
-
ABSOLUTE_ERROR_GAUSS_3
private static final double ABSOLUTE_ERROR_GAUSS_3- See Also:
-
-
Constructor Details
-
RadialBasisFunctionInterpolatorTest
RadialBasisFunctionInterpolatorTest()
-
-
Method Details
-
interpolate_dim1AndMultiQuadricRbf_returnsExpectedResult
@Test void interpolate_dim1AndMultiQuadricRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim1AndInverseMultiQuadricRbf_returnsExpectedResult
@Test void interpolate_dim1AndInverseMultiQuadricRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim1AndThinPlateRbf_returnsExpectedResult
@Test void interpolate_dim1AndThinPlateRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim1AndGaussianRbf_returnsExpectedResult
@Test void interpolate_dim1AndGaussianRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim2AndMultiQuadricRbf_returnsExpectedResult
@Test void interpolate_dim2AndMultiQuadricRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim2AndInverseMultiQuadricRbf_returnsExpectedResult
@Test void interpolate_dim2AndInverseMultiQuadricRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim2AndThinPlateRbf_returnsExpectedResult
@Test void interpolate_dim2AndThinPlateRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim2AndGaussianRbf_returnsExpectedResult
@Test void interpolate_dim2AndGaussianRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim3AndMultiQuadricRbf_returnsExpectedResult
@Test void interpolate_dim3AndMultiQuadricRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim3AndInverseMultiQuadricRbf_returnsExpectedResult
@Test void interpolate_dim3AndInverseMultiQuadricRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim3AndThinPlateRbf_returnsExpectedResult
@Test void interpolate_dim3AndThinPlateRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
interpolate_dim3AndGaussianRbf_returnsExpectedResult
@Test void interpolate_dim3AndGaussianRbf_returnsExpectedResult() throws InterpolationException, com.irurueta.algebra.WrongSizeException- Throws:
InterpolationExceptioncom.irurueta.algebra.WrongSizeException
-
assertInterpolation
private static void assertInterpolation(int dim, RadialBasisFunction rbf, double error) throws com.irurueta.algebra.WrongSizeException, InterpolationException - Throws:
com.irurueta.algebra.WrongSizeExceptionInterpolationException
-
evaluate
-
buildPolynomials
-
buildPolynomial
-