pub struct SyzygyModule {
pub generators: Vec<Syzygy>,
pub rank: usize,
}Expand description
The first syzygy module Syz(f_1,…,f_s).
Computed via the Schreyer algorithm (lift of S-pairs to the free module).
Fields§
§generators: Vec<Syzygy>The generators of the syzygy module (each is a Syzygy).
rank: usizeNumber of module generators (= number of f_i’s).
Implementations§
Source§impl SyzygyModule
impl SyzygyModule
Sourcepub fn compute(polys: &[Polynomial]) -> Self
pub fn compute(polys: &[Polynomial]) -> Self
Compute the first syzygy module of the polynomials using the Schreyer algorithm.
Sourcepub fn num_generators(&self) -> usize
pub fn num_generators(&self) -> usize
Number of syzygy generators.
Trait Implementations§
Source§impl Clone for SyzygyModule
impl Clone for SyzygyModule
Source§fn clone(&self) -> SyzygyModule
fn clone(&self) -> SyzygyModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SyzygyModule
impl RefUnwindSafe for SyzygyModule
impl Send for SyzygyModule
impl Sync for SyzygyModule
impl Unpin for SyzygyModule
impl UnsafeUnpin for SyzygyModule
impl UnwindSafe for SyzygyModule
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