Special.Laguerre LSeries Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Laguerre | Evaluates a series of Laguerre polynomials. |
Laguerre | Evaluates a series of generalized Laguerre polynomials. |
Laguerre | Evaluates a series of Laguerre polynomials up to the specified degree. |
Laguerre | Evaluates a series of generalized Laguerre polynomials up to the specified degree. |
LaguerreLSeries(Vector<Double>, Double)
Evaluates a series of Laguerre polynomials.
public static double LaguerreLSeries(
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 Laguerre polynomials at x multiplied by the corresponding element of coefficients.
Exceptions
Argument | coefficients is null. |
LaguerreLSeries(Vector<Double>, Double, Double)
Evaluates a series of generalized Laguerre polynomials.
public static double LaguerreLSeries(
Vector<double> coefficients,
double alpha,
double x
)
Parameters
- coefficients Vector<Double>
- A vector containing the coefficients.
- alpha Double
- The parameter of the generalized Laguerre polynomials.
- x Double
- The value for which to evaluate the series.
Return Value
DoubleThe sum of the Laguerre polynomials at x multiplied by the corresponding element of coefficients.
Exceptions
Argument | coefficients is null. |
LaguerreLSeries(Vector<Double>, Double, Int32)
Evaluates a series of Laguerre polynomials up to the specified degree.
public static double LaguerreLSeries(
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 Laguerre 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. |
LaguerreLSeries(Vector<Double>, Double, Double, Int32)
Evaluates a series of generalized Laguerre polynomials up to the specified degree.
public static double LaguerreLSeries(
Vector<double> coefficients,
double alpha,
double x,
int maxDegree
)
Parameters
- coefficients Vector<Double>
- A vector containing the coefficients.
- alpha Double
- The parameter of the generalized Laguerre polynomials.
- 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 Laguerre 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. |