modifiedChebyshevPoly: Computes the coefficients of T_0(2u - 1), ..., T_n(2u-1),...

View source: R/modifiedChebyshevPoly.R

modifiedChebyshevPolyR Documentation

Computes the coefficients of T_0(2u - 1), ..., T_n(2u-1), where T_k is the usual k-th Chebyshev polynomial of the 1st kind

Description

Computes the coefficients of T_0(2u - 1), ..., T_n(2u-1), where T_k is the usual k-th Chebyshev polynomial of the 1st kind

Usage

modifiedChebyshevPoly(n)

Arguments

n

maximal k for which we compute the coefficients of T_k(2u - 1)

Value

the result as a (n + 1) x (n + 1) matrix where each row is one of the polynomials. The first column corresponds to the constant coefficient, and rows are filled with 0s at the end for T_0, ..., T_(n-1)


cgaillac/MarginalFElogit documentation built on Dec. 24, 2024, 3:23 p.m.