public static RealMatrix getRowRange ( RealMatrix matrix , int start , int end ) { return matrix . getSubMatrix ( start , end , 0 , matrix . getColumnDimension ( ) - 1 ) ; }
Returns the row range from the matrix as a new matrix .