Class RombergUpperSquareRootMidPointQuadratureIntegratorTest
java.lang.Object
com.irurueta.numerical.integration.RombergUpperSquareRootMidPointQuadratureIntegratorTest
-
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
private 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
assertPolynomialIntegration
(int degree, double error) private static 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:
-
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_4
private static final double ABSOLUTE_ERROR_4- See Also:
-
ABSOLUTE_ERROR_5
private static final double ABSOLUTE_ERROR_5- See Also:
-
ABSOLUTE_ERROR_GAUSSIAN
private static final double ABSOLUTE_ERROR_GAUSSIAN- See Also:
-
ABSOLUTE_ERROR_EXPONENTIAL
private static final double ABSOLUTE_ERROR_EXPONENTIAL- See Also:
-
ABSOLUTE_ERROR_IMPROPER_1
private static final double ABSOLUTE_ERROR_IMPROPER_1- See Also:
-
ABSOLUTE_ERROR_IMPROPER_3
private static final double ABSOLUTE_ERROR_IMPROPER_3- See Also:
-
ALMOST_INFINITY
private static final double ALMOST_INFINITY- See Also:
-
-
Constructor Details
-
RombergUpperSquareRootMidPointQuadratureIntegratorTest
RombergUpperSquareRootMidPointQuadratureIntegratorTest()
-
-
Method Details
-
integrate_whenFirstDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenSecondDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenThirdDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenFourthDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenFifthDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenSixthDegreePolynomial_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenGaussian_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenExponential_returnsExpectedResult
- Throws:
IntegrationException
-
integrate_whenImproperIntegrandWithSingularities_returnsExpectedResult
@Test void integrate_whenImproperIntegrandWithSingularities_returnsExpectedResult() throws IntegrationException- Throws:
IntegrationException
-
integrate_whenImproperIntegralFromZeroToInfinity3_returnsWrongResult
@Test void integrate_whenImproperIntegralFromZeroToInfinity3_returnsWrongResult() throws IntegrationException- Throws:
IntegrationException
-
getIntegratorType_returnsExpectedValue
@Test void getIntegratorType_returnsExpectedValue() -
getQuadratureType_returnsExpectedValue
@Test void getQuadratureType_returnsExpectedValue() -
assertPolynomialIntegration
private static void assertPolynomialIntegration(int degree, double error) throws IntegrationException - Throws:
IntegrationException
-
buildPolynomial
-