pub struct Hclust {
pub merge: Vec<(i64, i64)>,
pub heights: Vec<f64>,
pub order: Vec<usize>,
}Expand description
The result of hclust.
Fields§
§merge: Vec<(i64, i64)>One pair of children per merge (see the module docs for the
numbering), n - 1 of them.
heights: Vec<f64>The distance each merge happened at, non-decreasing for average, complete and single linkage.
order: Vec<usize>The items in leaf order (a permutation of 0..n).
Trait Implementations§
impl StructuralPartialEq for Hclust
Auto Trait Implementations§
impl Forget for Hclust
impl Freeze for Hclustwhere
*const u8 is !null: Freeze,
PhantomData<(i64, i64)>: Freeze,
PhantomData<f64>: Freeze,
PhantomData<usize>: Freeze,
impl Move for Hclust
impl RefUnwindSafe for Hclust
impl Send for Hclustwhere
RawVecInner: Send,
impl Sync for Hclustwhere
RawVecInner: Sync,
impl Unpin for Hclust
impl UnsafeUnpin for Hclustwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(i64, i64)>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for Hclustwhere
RawVecInner: UnwindSafe,
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