Special.Legendre PSequence Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Legendre | Evaluates a sequence of Legendre polynomials of increasing degree starting at the specified degree. |
Legendre | Evaluates a sequence of Legendre polynomials of increasing degree starting at the specified degree and returns the result in the specified vector. |
Legendre | Evaluates a sequence of Legendre polynomials of increasing degree starting at the specified degree. |
Legendre | Evaluates a sequence of Legendre polynomials of increasing degree starting at the specified degree and returns the result in the specified vector. |
LegendrePSequence(Int32, Double)
Evaluates a sequence of Legendre polynomials of increasing degree starting at the specified degree.
public static Vector<double> LegendrePSequence(
int length,
double x
)
Parameters
Return Value
Vector<Double>A vector that contains length values of the Legendre polynomial of increasing orders starting from zero evaluated at x.
Exceptions
Argument | length is less than zero. |
LegendrePSequence(Int32, Double, Vector<Double>)
Evaluates a sequence of Legendre polynomials of increasing degree
starting at the specified degree and returns the result in the specified vector.
public static Vector<double> LegendrePSequence(
int length,
double x,
Vector<double> result
)
Parameters
- length Int32
- The length of the sequence.
- x Double
- A real number.
- result Vector<Double>
- The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which contains length values of the Legendre polynomial of increasing orders starting from zero evaluated at x.
Exceptions
Argument | length is less than zero. |
LegendrePSequence(Int32, Int32, Double)
Evaluates a sequence of Legendre polynomials of increasing degree starting at the specified degree.
public static Vector<double> LegendrePSequence(
int startDegree,
int length,
double x
)
Parameters
- startDegree Int32
- An integer that specifies the first degree in the sequence.
- length Int32
- The length of the sequence.
- x Double
- A real number.
Return Value
Vector<Double>A vector that contains length values of the Legendre polynomial of increasing orders starting from startDegree evaluated at x.
Exceptions
Argument | startDegree is less than zero. -or- length is less than zero. |
LegendrePSequence(Int32, Int32, Double, Vector<Double>)
Evaluates a sequence of Legendre polynomials of increasing degree
starting at the specified degree and returns the result in the specified vector.
public static Vector<double> LegendrePSequence(
int startDegree,
int length,
double x,
Vector<double> result
)
Parameters
- startDegree Int32
- An integer that specifies the first degree in the sequence.
- length Int32
- The length of the sequence.
- x Double
- A real number.
- result Vector<Double>
- The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which contains length values of the Legendre polynomial of increasing orders starting from startDegree evaluated at x.
Exceptions
Argument | startDegree is less than zero. -or- length is less than zero. |