ph-math/src/main/java/com/helger/numbercruncher/matrix/ColumnVector.java
protected void set (final float values[])
  {
    this.m_nRows = values.length;
    this.m_nCols = 1;
    this.m_aValues = new float [m_nRows] [1];

    for (int r = 0; r < m_nRows; ++r)
    {
      this.m_aValues[r][0] = values[r];
    }
  }
protected void set (final float values[])
  {
    this.m_nRows = values.length;
    this.m_nCols = 1;
    this.m_aValues = new float [m_nRows] [1];

    for (int r = 0; r < m_nRows; ++r)
    {
      this.m_aValues[r][0] = values[r];
    }
  }
protected void set ( final float values [ ] ) { this . m_nRows = values . length ; this . m_nCols = 1 ; this . m_aValues = new float [ m_nRows ] [ 1 ] ; for ( int r = 0 ; r < m_nRows ; ++ r ) { this . m_aValues [ r ] [ 0 ] = values [ r ] ; } }
Set this column vector from an array of values.

@param values
the array of values
Set this column vector from an array of values .