Special.Jacobi PSequence 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
Jacobi | Evaluates a sequence of Jacobi polynomials of increasing degree and returns the result in the specified span. |
Jacobi | Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree and returns the result in the specified vector. |
Jacobi | Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree and returns the result in the specified span. |
Jacobi | Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree and returns the result in the specified vector. |
JacobiPSequence(Double, Double, Double, Span<Double>)
Evaluates a sequence of Jacobi polynomials of increasing degree
and returns the result in the specified span.
public static void JacobiPSequence(
double alpha,
double beta,
double x,
Span<double> result
)
Parameters
JacobiPSequence(Int32, Double, Double, Double, Vector<Double>)
Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree
and returns the result in the specified vector.
public static Vector<double> JacobiPSequence(
int length,
double alpha,
double beta,
double x,
Vector<double>? result = null
)
Parameters
- length Int32
- The length of the sequence.
- alpha Double
- The first parameter of the Jacobi polynomial.
- beta Double
- The second parameter of the Jacobi polynomial.
- x Double
- A real number.
- result Vector<Double> (Optional)
- Optional. The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which contains length values of the Jacobi polynomial with parameter alpha and beta and of increasing orders starting from zero evaluated at x.
Exceptions
Argument | length is less than zero. |
JacobiPSequence(Int32, Double, Double, Double, Span<Double>)
Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree
and returns the result in the specified span.
public static void JacobiPSequence(
int startDegree,
double alpha,
double beta,
double x,
Span<double> result
)
Parameters
Exceptions
Argument | startDegree is less than zero. |
JacobiPSequence(Int32, Int32, Double, Double, Double, Vector<Double>)
Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree
and returns the result in the specified vector.
public static Vector<double> JacobiPSequence(
int startDegree,
int length,
double alpha,
double beta,
double x,
Vector<double>? result = null
)
Parameters
- startDegree Int32
- An integer that specifies the first degree in the sequence.
- length Int32
- The length of the sequence.
- alpha Double
- The first parameter of the Jacobi polynomial.
- beta Double
- The second parameter of the Jacobi polynomial.
- x Double
- A real number.
- result Vector<Double> (Optional)
- Optional. The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which contains length values of the Jacobi polynomial with parameter alpha and beta and of increasing orders starting from startDegree evaluated at x.
Exceptions
Argument | startDegree is less than zero. -or- length is less than zero. |