Evaluates a sequence of Legendre polynomials of increasing degree
starting at the specified degree and returns the result in the specified vector.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Vector<double> LegendrePSequence(
int length,
double x,
Vector<double> result
)
Public Shared Function LegendrePSequence (
length As Integer,
x As Double,
result As Vector(Of Double)
) As Vector(Of Double)
public:
static Vector<double>^ LegendrePSequence(
int length,
double x,
Vector<double>^ result
)
static member LegendrePSequence :
length : int *
x : float *
result : Vector<float> -> Vector<float>
Parameters
- length
- Type: SystemInt32
The length of the sequence. - x
- Type: SystemDouble
A real number. - result
- Type: Extreme.MathematicsVectorDouble
The vector that is to hold the result. May be .
Return Value
Type:
VectorDoubleThe vector
result, which contains
length values of
the Legendre polynomial of increasing orders
starting from zero evaluated at
x.
Numerical Libraries
Supported in: 6.0
Reference