XLL+ Class Library

::mtx_copy<M, N>

Copy one matrix to another, resizing if required

[C++]
void mtx_copy<M, N>(
   M& m,
   const N& n
);

Parameters

m

A reference to a target object of type M that supports the imtx<T> interface.

n

A reference to a source object of type N that supports the imtx<T> interface.

Remarks

This template function copies one matrix to another, resizing the target matrix if required.

Both matrices must support the imtx<T> interface. The matrixes do not need to be of the same type, but they should each have the same item type T.

Requirements

Header: plemtx.h

See Also

Matrix template functions