Struct ChebyshevFitSegment

Struct Documentation

struct ChebyshevFitSegment

One Chebyshev-polynomial segment fitting an num_dims-dimensional function of time over [t_mid - t_radius, t_mid + t_radius].

coeffs[d] holds the num_coeffs Chebyshev coefficients (T_n basis, constant term first) for dimension d — directly usable by cheby_eval_ad. Produced by FitChebyshevModel and stored inside ChebyshevFitModel::segments.

Public Members

double t_mid = 0.0
double t_radius = 0.0
std::vector<std::vector<double>> coeffs