code: public void getRow(int i, double[] array, int offset)
      {
          int n = cols;
          for (int j=0;j<n;j++)
          {
              array[j+offset] = get(i, j);
          }
      }
docs: array[j] = Aij
  @param i
  @param array
  @param offset