public final class CompositeSimpsonRule extends NumericalIntegrationMethod
rescalingFactors, weights, xValues
Constructor and Description |
---|
CompositeSimpsonRule(int numberOfSubintervals)
Constructor.
|
CompositeSimpsonRule(java.util.List<java.lang.Double> points)
Constructor 2.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Double> |
getRescalingFactors()
This method returns the rescaling factor for the numerical integration.
|
java.util.List<java.lang.Double> |
getWeights()
This method returns the weights associated to the numerical integration.
|
java.util.List<java.lang.Double> |
getXValues()
This method returns the x values for the numerical integration.
|
getLowerBound, getUpperBound, setLowerBound, setUpperBound, setXValuesFromListOfPoints
public CompositeSimpsonRule(int numberOfSubintervals)
numberOfSubintervals
- the number of sub intervals which must be evenpublic CompositeSimpsonRule(java.util.List<java.lang.Double> points)
points
- a List of evenly spaced points.public java.util.List<java.lang.Double> getWeights()
NumericalIntegrationMethod
getWeights
in class NumericalIntegrationMethod
public java.util.List<java.lang.Double> getXValues()
NumericalIntegrationMethod
getXValues
in class NumericalIntegrationMethod
public java.util.List<java.lang.Double> getRescalingFactors()
NumericalIntegrationMethod
getRescalingFactors
in class NumericalIntegrationMethod