Supports read-only access to any class that supports the imtx<T> interface.
class mtx_ptrreader<M> |
The mtx_ptrreader<M> template supports read-only access to any class M that supports the imtx<T> interface. Through its get_ptrs() method, it provides an array of pointers to arrays of T.
The class can be applied to a matrix of any type, but is more efficient when applied to a matrix whose storage strategy uses an array of pointers.
See the Tutorial for an example of using mtx_ptrreader<M>.
Header: plemtx.h
mtx_ptrreader<M> Methods | plemtx.h | mtx_ptrwriter<M> class | imtx<T> class | imtx_impl<T> class