Special.Hermite HSeries Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Hermite | Evaluates a series of Hermite polynomials. |
Hermite | Evaluates a series of Hermite polynomials up to the specified degree. |
HermiteHSeries(Vector<Double>, Double)
Evaluates a series of Hermite polynomials.
public static double HermiteHSeries(
Vector<double> coefficients,
double x
)
Parameters
- coefficients Vector<Double>
- A vector containing the coefficients.
- x Double
- The value for which to evaluate the series.
Return Value
DoubleThe sum of the Hermite polynomials at x multiplied by the corresponding element of coefficients.
Exceptions
Argument | coefficients is null. |
HermiteHSeries(Vector<Double>, Double, Int32)
Evaluates a series of Hermite polynomials up to the specified degree.
public static double HermiteHSeries(
Vector<double> coefficients,
double x,
int maxDegree
)
Parameters
- coefficients Vector<Double>
- A vector containing the coefficients.
- x Double
- The value for which to evaluate the series.
- maxDegree Int32
- the degree of the highest order polynomial to include in the series.
Return Value
DoubleThe sum of the Hermite polynomials up to degree maxDegree evaluated at x and multiplied by the corresponding element of coefficients.
Remarks
If maxDegree is less than zero, then zero is returned.
Exceptions
Argument | coefficients is null. |