code: public void setColumn(int col, double[] values) {
      int offset = translate(0, col, numRows);
      System.arraycopy(values, 0, matrix, offset, values.length);
    }
docs: Sets the column to a given double array.