Class TrapezoidalQuadratureIntegratorTest
java.lang.Object
com.irurueta.numerical.integration.TrapezoidalQuadratureIntegratorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
private static final double
private static final double
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
private static Polynomial
buildPolynomial
(int degree) (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:
-
MIN_LAMBDA
private static final double MIN_LAMBDA- See Also:
-
MAX_LAMBDA
private static final double MAX_LAMBDA- See Also:
-
ABSOLUTE_ERROR_1
private static final double ABSOLUTE_ERROR_1- See Also:
-
ABSOLUTE_ERROR_EXPONENTIAL
private static final double ABSOLUTE_ERROR_EXPONENTIAL- See Also:
-
-
Constructor Details
-
TrapezoidalQuadratureIntegratorTest
TrapezoidalQuadratureIntegratorTest()
-
-
Method Details
-
integrate_whenFirstDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenExponential_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenImproperIntegrandWithSingularities_throwsIntegrationException
@Test void integrate_whenImproperIntegrandWithSingularities_throwsIntegrationException() -
getIntegratorType_returnsExpectedValue
@Test void getIntegratorType_returnsExpectedValue() -
getQuadratureType_returnsExpectedValue
@Test void getQuadratureType_returnsExpectedValue() -
assertPolynomialIntegration
- Throws:
IntegrationException
-
buildPolynomial
-