public Matrix transpose ( ) { Matrix toReturn = new DenseMatrix ( cols ( ) , rows ( ) ) ; this . transpose ( toReturn ) ; return toReturn ; }
Returns a new matrix that is the transpose of this matrix .