-
Notifications
You must be signed in to change notification settings - Fork 3
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
Arbitrary radii for spheres #2
Comments
I will wait to hear Antoine if he thinks it fits. Really, many of these manifolds only require 3+2 lines of code, so if we have Sphere, might might as well make it a bit general, but I won't really put my foot down. I will say, that if you want absolute performance here, you probably don't want to do it like this. The following will allow the unit radius to be compiled completely away
Just a general Julia tip :) [only really matters if you do many retractions of course, but...] |
Oh that is cool to know, would you say the best learning source is the official doc? Because for now I just tried stuff and read a few parts of the doc and the wiki book. |
More code, more bugs, more stuff to document and change if we change an API. But sure, if you feel it's useful, can you make a PR? Don't forget |
As discussed at DifferentialEquations.jl #389 it might be useful to change the Sphere class to include a radius
I think this might be a good idea as it does not add much complexity and eases the use of the library for non normalized problems.
The text was updated successfully, but these errors were encountered: