Expand description
A dynamically sized column vector.
Implementations§
source§impl<T> DVector<T>
impl<T> DVector<T>
sourcepub const fn from_vec_storage(storage: VecStorage<T, Dyn, U1>) -> Self
pub const fn from_vec_storage(storage: VecStorage<T, Dyn, 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.