Open juliohm opened 2 days ago
No, not currently. For example, it currently uses FFTs to compute the coefficients quickly, but I don't have an FFT method for arbitrary vector spaces.
Right now you'll need to first define a mapping/isomorphism of your vector space to/from ℝⁿ or ℂⁿ (ideally to SVector{n}
so it is allocation-free), and then use this mapping before calling chebinterp
, and use the inverse mapping on the result of interpolation.
Can this package handle custom types in a Hilbert space?