A wrapper class to hold multiple arrays.
More...
#include <util/multiarrays.hpp>
Detailed Description
template<typename T, typename Pr>
class util::Multiarrays< T, Pr >
A wrapper class to hold multiple arrays.
List of all members.
Constructor & Destructor Documentation
template<typename T, typename Pr>
Builds a data tructure to hold multiple arrays.
- Parameters:
-
| arrays | each element contains a pointer to the head of a 1D array |
| lengths | each element contains the length of corresponding array |
| numArray | the number of array in the data structure |
Member Function Documentation
template<typename T, typename Pr>
- Returns:
- the number of prefix sum array
template<typename T, typename Pr>
- Returns:
- the length of the i-th prefix sum array. It is indexed in [0; getLength(i)-1]
template<typename T, typename Pr>
- Returns:
- the x-th prefix sum array
Member Data Documentation
template<typename T, typename Pr>
template<typename T, typename Pr>
template<typename T, typename Pr>
The documentation for this class was generated from the following file: