public Matrix2f( Matrix2f m ) { this.m00 = m.m00; this.m10 = m.m10; this.m01 = m.m01; this.m11 = m.m11; }
public void SetSubMatrix2x2( int i0, int j0, Matrix2f m ) { if( i0 < 0 || i0 > 1 || j0 < 0 || j0 > 1 ) { throw new ArgumentException( "Matrix3f.SetSubMatrix2x2: i0 and j0 can only be 0 or 1" ); } for( int i = 0; i < 2; ++i ) { for( int j = 0; j < 2; ++j ) { this[ i + i0, j + j0 ] = m[ i, j ]; } } }