pub struct CellularApproximation {
pub source: CwComplex,
pub target: CwComplex,
}Expand description
Cellular approximation theorem and homotopy equivalence.
Provides combinatorial tools for cellular maps and homotopy equivalences between CW complexes.
Fields§
§source: CwComplexSource complex.
target: CwComplexTarget complex.
Implementations§
Source§impl CellularApproximation
impl CellularApproximation
Sourcepub fn new(source: CwComplex, target: CwComplex) -> Self
pub fn new(source: CwComplex, target: CwComplex) -> Self
Create a cellular approximation instance.
Sourcepub fn is_cellular_by_dim(&self) -> bool
pub fn is_cellular_by_dim(&self) -> bool
Check if a map between k-skeleta is cellular: a map f: X → Y is cellular if f(X^k) ⊂ Y^k for all k. Checked by comparing max dimensions.
Sourcepub fn homotopy_equivalent_homology(&self) -> bool
pub fn homotopy_equivalent_homology(&self) -> bool
Homotopy equivalence check: two complexes are homotopy equivalent if they have the same Betti numbers and torsion coefficients.
Sourcepub fn map_degree(&self) -> i32
pub fn map_degree(&self) -> i32
Degree of a map between spheres (from induced map on top homology). Returns the sum of boundary signs (simplified computation).
Sourcepub fn whitehead_equivalent(&self) -> bool
pub fn whitehead_equivalent(&self) -> bool
Whitehead theorem: for CW complexes, a map inducing isomorphisms on all homotopy groups is a homotopy equivalence. Here approximated by homology.
Trait Implementations§
Source§impl Clone for CellularApproximation
impl Clone for CellularApproximation
Source§fn clone(&self) -> CellularApproximation
fn clone(&self) -> CellularApproximation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CellularApproximation
impl RefUnwindSafe for CellularApproximation
impl Send for CellularApproximation
impl Sync for CellularApproximation
impl Unpin for CellularApproximation
impl UnsafeUnpin for CellularApproximation
impl UnwindSafe for CellularApproximation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.