pub struct PersistenceDiagram {
pub h0: Vec<PersistenceBar>,
pub h1: Vec<PersistenceBar>,
pub n_points: usize,
}Fields§
§h0: Vec<PersistenceBar>H0: connected component bars
h1: Vec<PersistenceBar>H1: loop bars
n_points: usizeImplementations§
Source§impl PersistenceDiagram
impl PersistenceDiagram
pub fn significant_h0(&self, threshold: f64) -> Vec<&PersistenceBar>
pub fn betti_0(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PersistenceDiagram
impl RefUnwindSafe for PersistenceDiagram
impl Send for PersistenceDiagram
impl Sync for PersistenceDiagram
impl Unpin for PersistenceDiagram
impl UnsafeUnpin for PersistenceDiagram
impl UnwindSafe for PersistenceDiagram
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