Special.JacobiPSequenceWithDerivative Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5

Overload List

JacobiPSequenceWithDerivative(Double, Double, Double, Span<Double>, Span<Double>) Evaluates a sequence of Jacobi polynomials of increasing degree and their first derivatives, returning the results in the specified spans.
JacobiPSequenceWithDerivative(Int32, Double, Double, Double, Span<Double>, Span<Double>) Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree and their first derivatives, returning the results in the specified spans.

JacobiPSequenceWithDerivative(Double, Double, Double, Span<Double>, Span<Double>)

Evaluates a sequence of Jacobi polynomials of increasing degree and their first derivatives, returning the results in the specified spans.
C#
public static void JacobiPSequenceWithDerivative(
	double alpha,
	double beta,
	double x,
	Span<double> values,
	Span<double> derivatives
)

Parameters

alpha  Double
The first parameter of the Jacobi polynomial.
beta  Double
The second parameter of the Jacobi polynomial.
x  Double
A real number.
values  Span<Double>
The span that is to hold the polynomial values.
derivatives  Span<Double>
The span that is to hold the derivative values.

Exceptions

ArgumentException

values and derivatives must have the same length.

JacobiPSequenceWithDerivative(Int32, Double, Double, Double, Span<Double>, Span<Double>)

Evaluates a sequence of Jacobi polynomials of increasing degree starting at the specified degree and their first derivatives, returning the results in the specified spans.
C#
public static void JacobiPSequenceWithDerivative(
	int startDegree,
	double alpha,
	double beta,
	double x,
	Span<double> values,
	Span<double> derivatives
)

Parameters

startDegree  Int32
An integer that specifies the first degree in 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.
values  Span<Double>
The span that is to hold the polynomial values.
derivatives  Span<Double>
The span that is to hold the derivative values.

Exceptions

ArgumentOutOfRangeException

startDegree is less than zero.

ArgumentException

values and derivatives must have the same length.

See Also