fn identity(len: usize) -> Self {
        debug_assert_ne!(len, 0);

        Sparse::from_major_ordered_tuples(
            (0..len)
                .map(|i| vec![(i, F::one())])
                .collect(),
            len,
            len,
        )
    }
/// Create a dense square identity matrix of size `len`.
Create a dense square identity matrix of size `len`.
Create a dense square identity matrix of size ` len ` .
fn identity(len: usize) -> Self {
        debug_assert_ne!(len, 0);
        Sparse::from_major_ordered_tuples(
            (0..len)
                .map(|i| vec![(i, F::one())])
                .collect(),
            len,
            len,
        )
    }
fn identity ( len : usize ) -> Self { debug_assert_ne ! ( len 0 ) ; Sparse :: from_major_ordered_tuples ( ( 0 .. len ) . map ( | i | vec ! [ ( i F one ( ) ) ] ) . collect ( ) , len , len , ) }
Create a dense square identity matrix of size `len`.
Create a dense square identity matrix of size ` len ` .
len
usize
len
usize