chsvlib
chsv helper source code

◆ operator[]() [1/2]

const_reference operator[] ( std::size_t  off) const
noexcept

Provides the caller with an immutable arbitrary access to an element of a matrix column.

Parameters
offAn offset of the position of the desired element with respect to the beginning of the column.
Returns
A reference to an immutable element at the position off within the column.

Unlike matrix_column::at, the function does not validate the value of off.