/// Creates an identity matrix with the given size.
Creates an identity matrix with the given size.
Creates an identity matrix with the given size .
pub fn identity(size: N) -> Self {
        Self::tabulate(size.clone(), size, |row, col| if row == col {
            T::one()
        } else {
            T::zero()
        })
    }
pub fn identity ( size : N ) -> Self { Self :: tabulate ( size . clone ( ) , size , | row , col | if row == col { T :: one ( ) } else { T :: zero ( ) } ) }
Creates an identity matrix with the given size.
Creates an identity matrix with the given size .
size
N