XLL+ Class Library (6.3)

::mtx_adapter<T>

Create an instance of an matrix adapter

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

Parameters

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.

Remarks

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.

Requirements

Header: plemtx.h

See Also

Matrix template functions