Supports read-only access to any class that supports the imtx<T> interface.
class mtx_flatreader<M> |
The mtx_flatreader<M> template supports read-only access to any class M that supports the imtx<T> interface. Through its get_flat() method, it provides a continuous "flattened" array 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 a "flat" storage method.
See the Tutorial for an example of using mtx_flatreader<M>.
Header: plemtx.h
mtx_flatreader<M> Methods | plemtx.h | mtx_flatwriter<M> class | imtx<T> class | imtx_impl<T> class