Returns a read-only pointer to one sub-array
[C++]
const T* operator [] const(
size_t i
) const;
Index in dimension 0
This overloaded operator returns a read-only
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;
...
a_value = m[i][j];
Header: plemtx.h
mtx_ptrs<T> Class
| mtx_ptrs<T> Methods
| operator []
| Walkthrough: Adding a matrix argument