code: protected void set(double values[])
      {
          this.nRows  = values.length;
          this.nCols  = 1;
          this.values = new double[nRows][1];
  
          for (int r = 0; r < nRows; ++r) {
              this.values[r][0] = values[r];
          }
      }
docs: Set this column vector from an array of values.
  @param values the array of values