-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change monomial basis/coefficients in another basis #4
Comments
This is the role of: MultivariateBases.jl/src/scaled.jl Lines 48 to 50 in 17d642d
We should implement it for other basis too. For orthogonal basis, it is probably easier to use the scalar product. With your method, are you sure that rem is zero at the end ?
|
I haven't checked, but
Am I missing something? Agreed for the scalar product for orthogonal bases though... |
No, that's convincing, we should do that for non-orthogonal polynomial basis like |
Coming back to your idea for orthogonal polynomials - we would have to define the scalar product for each basis. How to do this efficiently is actually not 100%clear to me... |
Closed by #5 |
Is there a reason why I cannot find a function like:
which takes a polynomial and returns its coefficients with respect to a certain basis. I can only find this for ScaledMonomialBasis.
The text was updated successfully, but these errors were encountered: