Learn R Programming

gallery (version 1.0.0)

chebvand: Creating Vandermonde-like matrix for the Chebyshev polynomials

Description

Produces the (primal) Chebyshev Vandermonde matrix based on the points p. C[i,j] = T_{i-1}p[j], where T_{i-1} is the Chebyshev polynomial of degree i-1

Usage

chebvand(p, m = NULL)

Value

Vandermonde-like matrix for the Chebyshev polynomials

Arguments

p

points to evaluate. If a scalar, then p equally spaced points on [0,1] are used.

m

number of rows of the matrix. chebvand(p, m) is the rectangular version of chebvand(p) with m rows.