DMatrix in nalgebra::base - Rust
Description: A dynamically sized column-major matrix.
Keywords: rust, rustlang, rust-lang, DMatrix

# Type Definition nalgebra::base::DMatrix

source ·

    pub type DMatrix<T> = Matrix<T, Dyn, Dyn, VecStorage<T, Dyn, Dyn>>;

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, Dyn, Dyn>) -> 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.