code: public static void setCol(final double[][] m1, final int c, final double[] column) {
      assert column.length == m1.length : ERR_DIMENSIONS;
      for(int i = 0; i < m1.length; i++) {
        m1[i][c] = column[i];
      }
    }
docs: Sets the <code>c</code>th column of this matrix to the specified column.
  
  @param m1 Input matrix
  @param c the index of the column to be set
  @param column the value of the column to be set