public Matrix transpose ( ) { final Matrix A = new Matrix ( m_columns , m_rows ) ; for ( int i = 0 ; i < m_rows ; i ++ ) { for ( int j = 0 ; j < m_columns ; j ++ ) { A . m_data [ j ] [ i ] = this . m_data [ i ] [ j ] ; } } return A ; }
Creates and returns the transpose of the matrix