pub enum EmbeddingWhich {
LargestMagnitude,
LargestAlgebraic,
SmallestAlgebraic,
}Expand description
Which eigenvalues (singular values for directed graphs) the spectral
embeddings use (the admissible subset of igraph_eigen_which_position_t).
Variants§
LargestMagnitude
Largest magnitude (IGRAPH_EIGEN_LM).
LargestAlgebraic
Largest algebraic value (IGRAPH_EIGEN_LA); the same as
LargestMagnitude for directed graphs, whose singular values are
non-negative.
SmallestAlgebraic
Smallest algebraic value (IGRAPH_EIGEN_SA).
Trait Implementations§
Source§impl Clone for EmbeddingWhich
impl Clone for EmbeddingWhich
Source§fn clone(&self) -> EmbeddingWhich
fn clone(&self) -> EmbeddingWhich
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 moreimpl Copy for EmbeddingWhich
Source§impl Debug for EmbeddingWhich
impl Debug for EmbeddingWhich
impl Eq for EmbeddingWhich
Source§impl From<EmbeddingWhich> for igraph_eigen_which_position_t
impl From<EmbeddingWhich> for igraph_eigen_which_position_t
Source§fn from(value: EmbeddingWhich) -> igraph_eigen_which_position_t
fn from(value: EmbeddingWhich) -> igraph_eigen_which_position_t
Converts to this type from the input type.
Source§impl Hash for EmbeddingWhich
impl Hash for EmbeddingWhich
Source§impl PartialEq for EmbeddingWhich
impl PartialEq for EmbeddingWhich
Source§fn eq(&self, other: &EmbeddingWhich) -> bool
fn eq(&self, other: &EmbeddingWhich) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmbeddingWhich
Auto Trait Implementations§
impl Freeze for EmbeddingWhich
impl RefUnwindSafe for EmbeddingWhich
impl Send for EmbeddingWhich
impl Sync for EmbeddingWhich
impl Unpin for EmbeddingWhich
impl UnsafeUnpin for EmbeddingWhich
impl UnwindSafe for EmbeddingWhich
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