Type Definition nalgebra::base::RowDVector

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

A dynamically sized row vector.

Implementations§

source§

impl<T> RowDVector<T>

source

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

Trait Implementations§

source§

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

source§

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

Converts to this type from the input type.