Function numrs::matrix::identity [] [src]

pub fn identity<T: Number>(n: usize) -> Matrix<T>

Creates an identity matrix of dimension n x n.