XLL+ Class Library

mtx_ptrs<T>::erase

Erases a range of rows or columns

[C++]
void erase(
   int dim,
   size_t b,
   size_t e
);

Parameters

dim

Dimension number. Specifies in which dimension the selected range will be erased. In Excel, 0 corresponds to the number of rows, and 1 corresponds to the number of columns.

b

Index of the first row or column to be erased.

e

Index of the first row or column beyond the range to be erased. The number of rows or columns erased will be (e - b).

Remarks

This method the size of a specified dimension of the matrix.

Requirements

Header: plemtx.h

See Also

mtx_ptrs<T> Class | mtx_ptrs<T> Methods