XLL+ Class Library

matrix<T>::col_ptr

Returns a pointer to a contiguous column

[C++]
T* col_ptr(
   size_t col
);
const T* col_ptr(
   size_t col
) const;

Parameters

col

Column coordinate.

col

Column coordinate.

Return value

A pointer to the column is returned.

Remarks

Since columns are stored together, this function is cheap and feasible. Conversely, there is no row_ptr() method.

Requirements

Header: matrix.h

See Also

matrix<T> Class | matrix<T> Methods