You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some refactorings to the implementation of Hilbert_basis():
* Construct a cone L from our linear_subspace() so that "y in L"
works as intended (currently we try to coerce y into a vector
space in a try/except block). This is not any faster, but it
makes the code easier to read.
* Remove the irreducibles from "gens" as we construct it.
* Negate a condition in a loop to avoid bailing out with "continue"
as part of the normal control flow.
* Use a boolean indicator to check if the list of irreducibles
was modified, rather than recomputing its length.
0 commit comments