XLL+ Class Library

mtx_ptrs<T>::resize

Resize a matrix

[C++]
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_ptrs<T> Class | mtx_ptrs<T> Methods