XLL+ Class Library (6.3)

mtx_flat<T>::resize

Resize a matrix

virtual void resize(
   bool preserve,
   size_t dim0,
   size_t dim1
);

Parameters

preserve

If true, then the current contents of the matrix will be preserved. If false, then the contents will be set to arbitrary values.

dim0

The new size of dimension 0. In Excel this corresponds to the number of rows.

dim1

The new size of dimension 1. In Excel this corresponds to the number of columns.

Remarks

This method resizes a matrix.

Requirements

Header: plemtx.h

See Also

mtx_flat<T> Class | mtx_flat<T> Methods