Function make_mat2

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

Creates a 2x2 matrix from a slice arranged in column-major order.