-
Notifications
You must be signed in to change notification settings - Fork 8
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
Orthogonal polynomials #2
Comments
Let me start on this issue first |
Code for orthogonal polynomials added to codebase, now at https://github.com/jstriaukas/midasmlpy/blob/master/midasmlpy/midas_polynomials.py. Will add test cases next. |
Hi, I think there is a bug in the lb function particulalry at
You will likely get a dimension error because a scalar multiplies a vectors with @ instead of * Psi[:, i] = np.sqrt((2*i + 1) / (b-a)) @ P[:, i] |
Thanks a lot, Jeremy. We will try to fix it ASAP. |
Bug fixed. See:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a function that computes Legendre & Gegenbauer polynomials.
Examples:
https://github.com/jstriaukas/midasml/blob/master/R/midas.polynomials.R
The text was updated successfully, but these errors were encountered: