Type Definition nalgebra::base::DVector

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

A dynamically sized column vector.

Implementations§

source§

impl<T> DVector<T>

source

pub const fn from_vec_storage(storage: VecStorage<T, Dynamic, U1>) -> 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.

Trait Implementations§

source§

impl<'a, T: Scalar> From<Vec<T, Global>> for DVector<T>

source§

fn from(vec: Vec<T>) -> Self

Converts to this type from the input type.