pub struct ProjectiveResolution {
pub module_name: String,
pub steps: Vec<ResolutionStep>,
}Expand description
A projective (free) resolution … → P_2 → P_1 → P_0 → M → 0.
Fields§
§module_name: StringThe module being resolved.
steps: Vec<ResolutionStep>The steps P_0, P_1, …, P_n.
Implementations§
Source§impl ProjectiveResolution
impl ProjectiveResolution
Sourcepub fn projective_dimension(&self) -> Option<usize>
pub fn projective_dimension(&self) -> Option<usize>
Projective dimension: the length of the resolution (largest non-zero step).
Sourcepub fn betti_numbers(&self) -> Vec<usize>
pub fn betti_numbers(&self) -> Vec<usize>
Betti numbers: β_i = rank(P_i).
Trait Implementations§
Source§impl Clone for ProjectiveResolution
impl Clone for ProjectiveResolution
Source§fn clone(&self) -> ProjectiveResolution
fn clone(&self) -> ProjectiveResolution
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 ProjectiveResolution
impl RefUnwindSafe for ProjectiveResolution
impl Send for ProjectiveResolution
impl Sync for ProjectiveResolution
impl Unpin for ProjectiveResolution
impl UnsafeUnpin for ProjectiveResolution
impl UnwindSafe for ProjectiveResolution
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