code: public double[] getRow(int row) {
          checkIndices(row, 0);
  
          double[] returnRow = new double[values.length];
          returnRow[row] = values[row];
          return returnRow;
      }
docs: {@inheritDoc}