XLL+ Class Library

mtx_flat<T> Class

[C++]
class mtx_flat<T>

Overview

The mtx_flat<T> template is an implementation of the imtx<T> interface, and acts as a container of two-dimensional arrays of type T.

Because it is descended from imtx, it can make use of the matrix methods contained in COper, CXlOper and CXlArray, which support conversion of array data to and from Excel formats.

The class implements a storage method which maintains a continous array of type T. It is thus efficient as a data holder for existing functions which expect an array of "flattened" data (i.e. T*).

See the Tutorial for further examples of using mtx_flat<T>.

Requirements

Header: plemtx.h

See Also

mtx_flat<T> Methods | plemtx.h | imtx<T> class | imtx_impl<T> class | mtx_ptrs<T> class