Type Definition nalgebra::base::DMatrix

source ·
pub type DMatrix<T> = Matrix<T, Dynamic, Dynamic, VecStorage<T, Dynamic, Dynamic>>;
Expand description

A dynamically sized column-major matrix.

Because this is an alias, not all its methods are listed here. See the Matrix type too.

Implementations§

source§

impl<T> DMatrix<T>

source

pub const fn from_vec_storage(storage: VecStorage<T, Dynamic, Dynamic>) -> Self

Creates a new heap-allocated matrix from the given VecStorage.

This method exists primarily as a workaround for the fact that from_data can not work in const fn contexts.