pub enum LaplacianEmbeddingType {
DA,
IDAD,
DAD,
OAP,
}Expand description
The Laplacian used by Graph::laplacian_spectral_embedding
(igraph_laplacian_spectral_embedding_type_t). D is the degree
(strength) matrix, A the adjacency matrix.
Variants§
DA
D - A, the combinatorial Laplacian; undirected graphs only.
IDAD
I - D^-1/2 A D^-1/2, the symmetric normalized Laplacian;
undirected graphs only.
DAD
D^-1/2 A D^-1/2; undirected graphs only.
OAP
O^-1/2 A P^-1/2 with the out- and in-degree matrices O and
P; the only choice for directed graphs.
Trait Implementations§
Source§impl Clone for LaplacianEmbeddingType
impl Clone for LaplacianEmbeddingType
Source§fn clone(&self) -> LaplacianEmbeddingType
fn clone(&self) -> LaplacianEmbeddingType
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 LaplacianEmbeddingType
Source§impl Debug for LaplacianEmbeddingType
impl Debug for LaplacianEmbeddingType
impl Eq for LaplacianEmbeddingType
Source§impl From<LaplacianEmbeddingType> for igraph_laplacian_spectral_embedding_type_t
impl From<LaplacianEmbeddingType> for igraph_laplacian_spectral_embedding_type_t
Source§fn from(
value: LaplacianEmbeddingType,
) -> igraph_laplacian_spectral_embedding_type_t
fn from( value: LaplacianEmbeddingType, ) -> igraph_laplacian_spectral_embedding_type_t
Converts to this type from the input type.
Source§impl Hash for LaplacianEmbeddingType
impl Hash for LaplacianEmbeddingType
Source§impl PartialEq for LaplacianEmbeddingType
impl PartialEq for LaplacianEmbeddingType
Source§fn eq(&self, other: &LaplacianEmbeddingType) -> bool
fn eq(&self, other: &LaplacianEmbeddingType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaplacianEmbeddingType
Auto Trait Implementations§
impl Freeze for LaplacianEmbeddingType
impl RefUnwindSafe for LaplacianEmbeddingType
impl Send for LaplacianEmbeddingType
impl Sync for LaplacianEmbeddingType
impl Unpin for LaplacianEmbeddingType
impl UnsafeUnpin for LaplacianEmbeddingType
impl UnwindSafe for LaplacianEmbeddingType
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