Class SimpleQuadrature
java.lang.Object
de.tu_bs.isbs.util.math.quadrature.SimpleQuadrature
public class SimpleQuadrature
extends java.lang.Object
Zugriff auf die QUADPACK-Funktionen dqk15, dqk21, dqk31, dqk41, dqk51, dqk61.
- Author:
- Stefan
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_INT_KEY
-
Constructor Summary
Constructors Constructor Description SimpleQuadrature()
-
Method Summary
Modifier and Type Method Description QuadratureResult
integrate(UnivariateDoubleFunction fun, double a, double b)
void
setIntegrationRule(int key)
Wählt die zu verwendende Quadraturformel.
-
Field Details
-
DEFAULT_INT_KEY
public static final int DEFAULT_INT_KEY- See Also:
- Constant Field Values
-
-
Constructor Details
-
SimpleQuadrature
public SimpleQuadrature()
-
-
Method Details
-
setIntegrationRule
public final void setIntegrationRule(int key)Wählt die zu verwendende Quadraturformel.- Parameters:
key
- 1 = dqk15, 2 = dqk21, 3 = dqk31, 4 = dqk41, 5 = dqk51, 6 = dqk61.
-
integrate
public QuadratureResult integrate(UnivariateDoubleFunction fun, double a, double b) throws FunctionValue.FunctionEvaluationException
-