-
Notifications
You must be signed in to change notification settings - Fork 133
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
Add Vinberg's algorithm #4023
Add Vinberg's algorithm #4023
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4023 +/- ##
==========================================
+ Coverage 84.10% 84.66% +0.55%
==========================================
Files 612 613 +1
Lines 83067 83393 +326
==========================================
+ Hits 69865 70606 +741
+ Misses 13202 12787 -415
|
Needs sorting and possibly moved to experimental? @simonbrandhorst any idea? It's your baby....(indirectly) |
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
if _crystallographic_condition(Q, v) | ||
if _check_coorientation(Q, roots, v, v0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the hot loop. So these two function will be called many times. Can you make them non-allocating?
The math looks good to me. |
Co-authored-by: Simon Brandhorst <brandhorst@math.uni-sb.de>
Co-authored-by: Simon Brandhorst <brandhorst@math.uni-sb.de>
Co-authored-by: Simon Brandhorst <brandhorst@math.uni-sb.de>
Co-authored-by: Simon Brandhorst <brandhorst@math.uni-sb.de>
Co-authored-by: Simon Brandhorst <brandhorst@math.uni-sb.de>
I did some local changes but could not figure out how to push them here. Hence I close this and open another PR. |
I added an implementation of Vinberg's algorithm for computing fundamental roots of Lorentzian lattices.
@simonbrandhorst
@StevellM