Click or drag to resize

PolynomialsChebyshevT Method

Computes the value of the Chebyshev polynomial of degree n and its first and second derivatives at a given point.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void ChebyshevT(
	int n,
	double x,
	out double y,
	out double dy,
	out double d2y
)

Parameters

n  Int32
Degree of the polynomial >= 0.
x  Double
Point in which the computation is performed, -1 <= x <= 1.
y  Double
Output: value of the polynomial in x.
dy  Double
Output: value of the first derivative in x.
d2y  Double
Output: value of the second derivative in x.
Remarks
C#
Note:
  This C++ implementation is based on the Fortran function
     VACHPO
  from
      "Fortran routines for spectral methods"
  by  Daniele Funaro
      Department of Mathematics
      University of Pavia
      Via Abbiategrasso 209, 27100 Pavia, Italy
      e-mails: fun18@ipvian.ian.pv.cnr.it
               funaro@dragon.ian.pv.cnr.it
See Also