# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.integration.univariate.riemann.gaussian.rule

• ### Method Summary

All Methods
Modifier and Type Method and Description
double[] getCoefficients()
Get the coefficients $$c_i$$ associated with each evaluation point $$x_i$$.
double[] getEvaluationPoints()
Get the evaluation points for the quadrature rule ($$x_i$$).
double getWeighting(double x)
Get the weighting $$w(x_i)$$ associated with a point $$x_i$$.
boolean supportsInterval(double a, double b)
Return whether the given interval (a,b) is supported by this rule.
• ### Method Detail

• #### getEvaluationPoints

double[] getEvaluationPoints()
Get the evaluation points for the quadrature rule ($$x_i$$).
Returns:
the evaluation points
• #### getCoefficients

double[] getCoefficients()
Get the coefficients $$c_i$$ associated with each evaluation point $$x_i$$.
Returns:
the coefficients of the evaluation points
• #### getWeighting

double getWeighting(double x)
Get the weighting $$w(x_i)$$ associated with a point $$x_i$$.
Parameters:
x - the evaluation point
Returns:
the weighting of the given evaluation point $$w(x)$$
• #### supportsInterval

boolean supportsInterval(double a,
double b)
Return whether the given interval (a,b) is supported by this rule.
Parameters:
a - the start point of the interval
b - the end point of the interval
Returns:
true if the interval is supported