Skip to main content

Matrix

Type Alias Matrix 

Source
pub type Matrix = igraph_matrix_t;
Expand description

Owned column-major matrix of reals (igraph_matrix_t), see the module docs.

Aliased Type§

pub struct Matrix { /* private fields */ }

Trait Implementations§

Source§

impl From<&CooMatrix> for Matrix

Source§

fn from(m: &CooMatrix) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<&igraph_sparsemat_t> for Matrix

Source§

fn try_from(m: &SparseMat) -> Result<Self>

Source§

type Error = Error

The type returned in the event of a conversion error.