public void SetToIdentity() { Array.Clear( m, 0, m.Length ); int Min = Math.Min( Rows, Columns ); for ( int i=0; i < Min; i++ ) m[i,i] = 1.0; }