Learn R Programming

gallery (version 1.0.0)

chebspec: Create Chebyshev spectral differentiation matrix

Description

Chebyshev spectral differentiation matrix of order n. k determines the character of the output matrix. For either form, the eigenvector matrix is ill-conditioned.

Usage

chebspec(n, k = NULL)

Value

Chebyshev spectral differentiation matrix

Arguments

n

order of the matrix.

k

k=0 is the default, no boundary conditions. The matrix is similar to a Jordan block of size n with eigenvalue 0. If k=1, the matrix is nonsingular and well-conditioned, and its eigenvalues have negative real parts.