Struct caminos_lib::matrix::Matrix [−][src]
pub struct Matrix<T> { /* fields omitted */ }
Expand description
A simple matrix struct. Used for manipulating some matrices of the topology, such as the adjacency matrix and the distance matrix.
Implementations
Get the number of columns
Build a matrix with constant values.
Trait Implementations
Get the total memory currently being employed by the implementing type. Both stack and heap.
Prints by stdout how much memory is used per component.
Get an estimation on how much memory the type could reach during the simulation.