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 ); |
Buffer for a pointer to an array of pointers.
Buffer for a pointer to an array of pointers.
Returns true if the operation is supported, false if it is not.
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.
Header: plemtx.h