pub struct SystemSolver {
pub basis: ReducedGroebnerBasis,
}Expand description
A zero-dimensional ideal solver: finds the finite solution set of a system.
Uses the shape lemma and univariate factoring after change of coordinates.
Fields§
§basis: ReducedGroebnerBasisThe Gröbner basis of the zero-dimensional ideal.
Implementations§
Source§impl SystemSolver
impl SystemSolver
Sourcepub fn new(basis: ReducedGroebnerBasis) -> Self
pub fn new(basis: ReducedGroebnerBasis) -> Self
Create a new solver from a reduced Gröbner basis.
Sourcepub fn num_solutions(&self) -> usize
pub fn num_solutions(&self) -> usize
Count the number of solutions (= degree of the ideal) via the Hilbert function.
For a zero-dimensional ideal, H(I, t) stabilizes to deg(I).
Auto Trait Implementations§
impl Freeze for SystemSolver
impl RefUnwindSafe for SystemSolver
impl Send for SystemSolver
impl Sync for SystemSolver
impl Unpin for SystemSolver
impl UnsafeUnpin for SystemSolver
impl UnwindSafe for SystemSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more