code: public double[][] toDenseArray() {
          double[][] arr = new double[rows][backingMatrix.columns()];
          for (int i = 0; i < rowToReal.length; ++i)
              arr[i] = backingMatrix.getRow(rowToReal[i]);
          return arr;
      }
docs: {@inheritDoc}