public class GaussLegendreQuadrature extends GaussQuadrature
GaussQuadrature.NumberOfPoints
rescalingFactors, weights, xValues
Constructor and Description |
---|
GaussLegendreQuadrature(GaussQuadrature.NumberOfPoints numberOfPoints)
Constructor.
|
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.
|
getOrderedNodes
getLowerBound, getUpperBound, setLowerBound, setUpperBound, setXValuesFromListOfPoints
public GaussLegendreQuadrature(GaussQuadrature.NumberOfPoints numberOfPoints)
numberOfPoints
- a NumberOfPoints enum variable (either NumberOfPoints.N5, NumberOfPoints.N10, or NumberOfPoints.N15)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