-
Notifications
You must be signed in to change notification settings - Fork 35
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
Nth derivatives? #373
Comments
A function like |
Thanks for the context that this is for associated Legendre polynomials—that's helpful. I imagine working with Unfortunately... There's not a great way to do this right now. Your current workaround with Footnotes
|
My current implementation is this: It works fine (though it is a little on the slow side). Unfortunately I'm not entirely sure how to implement Also It works, though if I want to add higher values of |
Here are some spherical harmonics I made with this https://www.math3d.org/7peENsvPR Doing it with surfaces instead of colourmaps is possible, just that I need to put it at really low res, otherwise it crashes. |
That's very nice! Re performance: Everything in math3d is evaluated numerically. This makes Nth derivatives particularly costly when expressed in terms of 1st derivatives. Setting aside nth derivatives for a moment:
I just merged a PR #374 that adds a function
I'm not sure your interest in programming. If you'd like to contribute to flush out the definition of The current math3d implementation has some issues around typesetting: Those issues probably won't be addressed until I'd also invite you to make an issue in https://github.com/ChristopherChudzicki/math3d-next re special polynomials. (I should, but I have to run in a few minutes.) PS: I have looked a bit at JS special polynomial libraries in the past. There's not too much that I could find, but https://www.npmjs.com/package/ortho-poly seemed potentially promising. |
Is there any way to take the nth derivative of a function (without making a function for each individual derivative). i.e.
This is not what I want to have to do, and also returns an error anyway
e.apply is not a function
.This is arguably even worse, but its what I'm using right now.
This would be very nice for doing the Associated Legendre polynomials$P^m_\ell(x)$ which contains $\frac{d^m}{{dx}^m}(P_\ell(x))$
The text was updated successfully, but these errors were encountered: