pub struct ExplainedDiagram {
pub diagram: Diagram,
pub spaces: Vec<PersistentClassSpace>,
}Expand description
Diagram plus canonical spaces for every positive H1 interval.
Fields§
§diagram: DiagramFull persistence diagram through the requested dimension.
spaces: Vec<PersistentClassSpace>H1 class spaces in interval order, then identifier order.
Implementations§
Source§impl ExplainedDiagram
impl ExplainedDiagram
Sourcepub fn class_count(&self) -> usize
pub fn class_count(&self) -> usize
Number of positive H1 intervals, including multiplicity.
Sourcepub fn classes(&self) -> impl Iterator<Item = &PersistentClass>
pub fn classes(&self) -> impl Iterator<Item = &PersistentClass>
Basis vectors from every class space in canonical order.
Trait Implementations§
Source§impl Clone for ExplainedDiagram
impl Clone for ExplainedDiagram
Source§fn clone(&self) -> ExplainedDiagram
fn clone(&self) -> ExplainedDiagram
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExplainedDiagram
impl RefUnwindSafe for ExplainedDiagram
impl Send for ExplainedDiagram
impl Sync for ExplainedDiagram
impl Unpin for ExplainedDiagram
impl UnsafeUnpin for ExplainedDiagram
impl UnwindSafe for ExplainedDiagram
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more