fit
Method of ComplexChebyshevSeries.
fit(const Function<complex(real)> function, const Interval interval) -> ComplexChebyshevSeries
Fits the Chebyshev series to the given real-valued function over the specified interval.
Parameters
- function: The real-valued function to fit.
- interval: The interval [a, b] over which to fit the function.