chsvlib
chsv helper source code

◆ GetColumnDirect() [1/2]

pointer GetColumnDirect ( size_type  iColumn)
protected

Retrieves a mutable pointer to contiguous elements of the specified matrix column. Neither presence of the column nor validity of the column index are validated.

Parameters
iColumnAn index of the column to be retrieved.
Returns
A pointer to the first element of the column, that is a C-like array of Columns() contiguous elements.

Unlike the publicly available indexing operators, here no verification of the index is performed to gain performance. Hence, usage of the method can be unsafe.