SparseLibrary
Version 1.6.0
|
Class providing an interface to an efficient storage of a 1D array of Hilbert coordinate increments. More...
#include <HilbertArray.hpp>
Public Member Functions | |
virtual void | zax (const T *__restrict__ const &x, T *__restrict__ const &y, const T *__restrict__ &v, const T *__restrict__ const &v_end)=0 |
Does a zax-operation using the moveToStart and moveToNext functionalities. More... | |
virtual void | zxa (const T *__restrict__ const &x, T *__restrict__ const &y, const T *__restrict__ &v, const T *__restrict__ const &v_end)=0 |
Does a zxa-operation using the moveToStart and moveToNext functionalities. More... | |
virtual size_t | bytesUsed ()=0 |
Gets the amount of storage used. More... | |
virtual ULI | getFirstColumnIndex ()=0 |
Gets the first column index. More... | |
virtual ULI | getFirstRowIndex ()=0 |
Gets the first row index. More... | |
virtual void | moveToStart (const T *__restrict__ &x, T *__restrict__ &y, const T &v)=0 |
Moves this interface and the two given vectors to the start location. More... | |
virtual void | moveToNext (const T *__restrict__ &x, T *__restrict__ &y, const T &v)=0 |
Moves this interface and the two given vectors to the next position. More... | |
virtual | ~HilbertArrayInterface () |
Base deconstructor. More... | |
Class providing an interface to an efficient storage of a 1D array of Hilbert coordinate increments.
Includes functionality to translate increments into 2D movements applied on two vectors of a template type T. This interface is best viewed as an iterator.
|
inlinevirtual |
Base deconstructor.
|
pure virtual |
Gets the amount of storage used.
Implemented in HilbertArray< T, I, hI, mI >.
|
pure virtual |
Gets the first column index.
Implemented in HilbertArray< T, I, hI, mI >.
|
pure virtual |
Gets the first row index.
Implemented in HilbertArray< T, I, hI, mI >.
|
pure virtual |
Moves this interface and the two given vectors to the next position.
Implemented in HilbertArray< T, I, hI, mI >.
|
pure virtual |
Moves this interface and the two given vectors to the start location.
Implemented in HilbertArray< T, I, hI, mI >.
|
pure virtual |
Does a zax-operation using the moveToStart and moveToNext functionalities.
Implemented in HilbertArray< T, I, hI, mI >.
|
pure virtual |
Does a zxa-operation using the moveToStart and moveToNext functionalities.
Implemented in HilbertArray< T, I, hI, mI >.