#include <nvectormatrix.h>
Inheritance diagram for regina::NVectorMatrixRow< T >:
Public Member Functions | |
NVectorMatrixRow (const NMatrix< T > &matrix, unsigned whichRow) | |
Creates a new vector that refers to the given row of the given matrix. | |
virtual unsigned | size () const |
Returns the number of elements in the vector. | |
virtual const T & | operator[] (unsigned index) const |
Returns the element at the given index in the vector. |
|
Creates a new vector that refers to the given row of the given matrix.
|
|
Returns the element at the given index in the vector. A constant reference to the element is returned; the element may not be altered.
Implements regina::NVector< T >. |
|
Returns the number of elements in the vector.
Implements regina::NVector< T >. |