code: public void setColumn(int column, DoubleVector values) {
          checkIndices(values.length() - 1, column);
  
          for (int row = 0; row < rows; ++row)
              matrix[getIndex(row,column)] = values.get(row);
      }
docs: {@inheritDoc}