Constructs and returns a new
slice view representing the columns of the given row. The returned view is backed by this matrix, so changes in the returned view are reflected in this matrix, and vice-versa. To obtain a slice view on subranges, construct a sub-ranging view (
viewPart(...)), then apply this method to the sub-range view.
Example:
2 x 3 matrix: 1, 2, 3 4, 5, 6 | viewRow(0) ==> | Matrix1D of size 3: 1, 2, 3 |
@param row the row to fix.
@return a new slice view.
@throws IndexOutOfBoundsException if
row < 0 || row>= rows().
@see #viewColumn(int)