XLL+ Class Library

mtx_ptrs<T>::get_ptrs

Gets an array of pointers to the rows or columns of a matrix

[C++]
virtual bool get_ptrs(
   const T**& ptrs
) const;
virtual bool get_ptrs(
   T**& ptrs
);

Parameters

ptrs

Buffer for a pointer to an array of pointers.

ptrs

Buffer for a pointer to an array of pointers.

Return value

Always returns true.

Remarks

This method sets ptrs to the start of an array of pointers to each of the vectors contained in the natrix. The number of vectors is the same as the value returned by size(0), i.e. the size of the inner dimension of the matrix.

The method always returns true, to indicate that the operation is supported.

Requirements

Header: plemtx.h

See Also

mtx_ptrs<T> Class | mtx_ptrs<T> Methods