XLL+ Class Library (6.3)

imtx<T>::get_ptrs

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

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

Returns true if the operation is supported, false if it is not.

Remarks

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

If the storage method used by the implementation class does not support this form of operation without rearrangement of data, then the method should return false.

Requirements

Header: plemtx.h

See Also

imtx<T> Class | imtx<T> Methods