RowDVector in nalgebra::base - Rust
Description: A dynamically sized row vector.
Keywords: rust, rustlang, rust-lang, RowDVector

# Type Definition nalgebra::base::RowDVector

source ·

    pub type RowDVector<T> = Matrix<T, U1, Dyn, VecStorage<T, U1, Dyn>>;

Expand description

A dynamically sized row vector.

## Implementations§

source§

### impl<T> RowDVector<T>

source

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

## 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.