usnistgov / ChebTools

C++ tools for working with Chebyshev expansion interpolants
MIT License
28 stars 8 forks source link

Add the apply function #20

Closed ibell closed 6 years ago

ibell commented 6 years ago

Some more thinking is needed about what to do about padding out the order

LBouck commented 6 years ago

I think that probably implementing an adaptive Chebyshev approximation scheme would be best. The user just inputs the function and then we adaptively create the Chebyshev expansion. When we use apply, we do what we do in overloading multiply and resample on the chebyshev grid. Once we have an adaptive constructor, we could reapply the adaptive constructor on the new function.

LBouck commented 6 years ago

Let me know what you think.