XLL+ Class Library

mtx_flatreader<M> Class

[C++]
class mtx_flatreader<M>

Overview

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 contiguous "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>.

Requirements

Header: plemtx.h

See Also

mtx_flatreader<M> Methods | plemtx.h | mtx_flatwriter<M> class | imtx<T> class | imtx_impl<T> class