XLL+ Class Library (7.0)


Create an instance of an matrix adapter

imtx<T> mtx_adapter<T>(
   C& src



A reference to an object of type C which is a two-dimensional container for T, and does not support the imtx<T> interface.

Return Value

An instance of an adapter class that supports the imtx<T> interface.


This template function creates an instance of a adapter derived from imtx<T> to read the specified matrix of type C.

The template function must be implemented for each matrix adapter class; it is called by the XLL+ code generated for reading matrix arguments.


Header: plemtx.h

See Also

Matrix template functions