chsvlib
chsv helper source code

◆ GetElementDirect() [2/2]

const_reference GetElementDirect ( size_type  iColumn,
size_type  iRow 
)
protected

Retrieves a read-only reference to a matrix element at a specified position. No validity check for the indices is performed.

Parameters
iColumnAn index of the column the retrieved element belongs to.
iRowAn index of a row the element belongs to.
Returns
A read-only reference to an element that is located in a column iColumn and in a row iRow.

Unlike the publicly available indexing operators of the matrix, existence of the elements addressed by iColumn and iRow is not validated.