Returns a pointer to one sub-array
T*& operator []( size_t i ); |
Index in dimension 0
This overloaded operator returns a writeable pointer to one of the constituent vectors of the matrix.
This behaviour allows you to treat the matrix object like an array. For example:
ple::mtx_ptrs<double> m; ... m[i][j] = a_value;
Header: plemtx.h
mtx_ptrs<T> Class | mtx_ptrs<T> Methods | operator [] const | Walkthrough: Adding a matrix argument