pub struct Filtration {
pub complexes: Vec<SimplicialComplex>,
pub epsilon_values: Vec<f32>,
}Expand description
Filtration: nested sequence of simplicial complexes
Used for persistent homology computation
Fields§
§complexes: Vec<SimplicialComplex>Sequence of complexes
epsilon_values: Vec<f32>Epsilon values at which complexes change
Implementations§
Source§impl Filtration
impl Filtration
Sourcepub fn birth_time(&self, _simplex_index: usize) -> f32
pub fn birth_time(&self, _simplex_index: usize) -> f32
Get birth time of a simplex (stub)
Trait Implementations§
Source§impl Clone for Filtration
impl Clone for Filtration
Source§fn clone(&self) -> Filtration
fn clone(&self) -> Filtration
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 moreSource§impl Debug for Filtration
impl Debug for Filtration
Source§impl<'de> Deserialize<'de> for Filtration
impl<'de> Deserialize<'de> for Filtration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Filtration
impl RefUnwindSafe for Filtration
impl Send for Filtration
impl Sync for Filtration
impl Unpin for Filtration
impl UnwindSafe for Filtration
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