The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... 
Home MathPack Matrix Classes TIntMatrix, TMatrix and TMat3D Methods CopyColToVec  
See also: CopyRowToVec, CopyFromVec, CopyFrom (Vector), CopyColTo1DArray  
CopyColToVec 

The method CopyColToVec copies part of a column of the matrix into the vector DestVec. The parameter Col specifies the column to be copied, the parameters FirstRow, and LastRow define the range of the column to be copied to the vector. The matrix element with address [Col,FirstRow] is copied to the first element of the vector, the element [Col,FirstRow+1] is copied to the second vector element, and so on, until the cell at [Col,LastRow] has been copied.
If the destination vector is larger than the specified range, the remaining cells are set to zero values. If the vector is smaller, only the first n elements (n = size of the vector) are copied. The versions [2] and [4] allow to specify a destination cell DestElem which is the first cell of the destination vector. All values are copied to this cell and the subsequent ones. DestElem can be negative as well (valid range: (LastRowFirstRow1)...DestVec.NrOfElems).
