Function lupnt::ChebyshevBasis

Function Documentation

inline MatXd lupnt::ChebyshevBasis(const VecXd &t_k, double t_fit, int order)

Chebyshev polynomial basis (T_n basis, constant term first), evaluated at normalized time z_k = 2*t_k/t_fit.

Returns:

An (N x (order+1)) matrix whose column j is T_j(z_k).