XLL+ Class Library

imtx_impl<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

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.

The default implementation returns false, to signify that the operation is not supported.

Requirements

Header: plemtx.h

See Also

imtx_impl<T> Class | imtx_impl<T> Methods