XLL+ Class Library

matrix<T>::add_col

Add a single column to the matrix and populate it

[C++]
void add_col(
   const T* pt
);

Parameters

pt

Pointer to an array of type T, with at least rows() members.

Remarks

This function adds one new column to the matrix, and fills it with the values provided.

Example

matrix<T>::add_col() Example

Requirements

Header: matrix.h

See Also

matrix<T> Class | matrix<T> Methods