identity_matrix

Function identity_matrix 

Source
pub fn identity_matrix<V: Vector<Scalar = f32>, MatrixLike: Matrix<V> + Default>(
    rows: usize,
    columns: usize,
) -> MatrixLike
Expand description

Creates an identity matrix of the given size.