Special.JacobiPSeriesWithDerivative Method

Definition

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

Overload List

JacobiPSeriesWithDerivative(Vector<Double>, Double, Double, Double) Evaluates a series of Jacobi polynomials and its first derivative.
JacobiPSeriesWithDerivative(Vector<Double>, Double, Double, Double, Int32) Evaluates a series of Jacobi polynomials up to the specified degree and its first derivative.

JacobiPSeriesWithDerivative(Vector<Double>, Double, Double, Double)

Evaluates a series of Jacobi polynomials and its first derivative.
C#
public static (double value, double derivative) JacobiPSeriesWithDerivative(
	Vector<double> coefficients,
	double alpha,
	double beta,
	double x
)

Parameters

coefficients  Vector<Double>
A vector containing the coefficients.
alpha  Double
The first parameter of the Jacobi polynomial.
beta  Double
The second parameter of the Jacobi polynomial.
x  Double
The value for which to evaluate the series.

Return Value

ValueTuple<Double, Double>
A tuple containing the value and first derivative of the sum of the Jacobi polynomials at x multiplied by the corresponding element of coefficients.

Exceptions

ArgumentNullException

coefficients is null.

JacobiPSeriesWithDerivative(Vector<Double>, Double, Double, Double, Int32)

Evaluates a series of Jacobi polynomials up to the specified degree and its first derivative.
C#
public static (double value, double derivative) JacobiPSeriesWithDerivative(
	Vector<double> coefficients,
	double alpha,
	double beta,
	double x,
	int maxDegree
)

Parameters

coefficients  Vector<Double>
A vector containing the coefficients.
alpha  Double
The first parameter of the Jacobi polynomial.
beta  Double
The second parameter of the Jacobi polynomial.
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

ValueTuple<Double, Double>
A tuple containing the value and first derivative of the sum of the Jacobi polynomials up to degree maxDegree evaluated at x and multiplied by the corresponding element of coefficients.

Remarks

If maxDegree is less than zero, then (0, 0) is returned.

Exceptions

ArgumentNullException

coefficients is null.

See Also