chebspec: Create Chebyshev spectral differentiation matrix

View source: R/chebspec.R

chebspecR Documentation

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)

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.

Value

Chebyshev spectral differentiation matrix


gallery documentation built on Sept. 26, 2024, 5:07 p.m.