Function make_vec2

Source
pub fn make_vec2<T>(
    ptr: &[T],
) -> Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>
where T: Scalar,
Expand description

Creates a 2D vector from a slice.

ยงSee also: