This class implements the interval notation for 1d array as defined by util::PrefixSumArray1DOfTInterval.
More...
#include <util/aggreg2dto1dpart.hpp>
Detailed Description
template<typename T, typename Pr>
class util::Aggreg2Dto1Dpart< T, Pr >
This class implements the interval notation for 1d array as defined by util::PrefixSumArray1DOfTInterval.
This class implements the interval notation for 1d array as defined by util::PrefixSumArray1DOfTInterval. The data come from a 2d prefix sum array. The size of the exposed 1d array is given by the first dimension of the 2d prefix sum array. When asked for the value of an interval (in the first dimension), the stripe defined by the interval is partitioned along the second dimension using the oned::NicolPlus algorithm.
- Parameters:
-
| T | type of the data. |
| Pr | type of the 2d prefix sum array. |
List of all members.
Constructor & Destructor Documentation
template<typename T, typename Pr>
deactivated since it does not make sense
template<typename T, typename Pr>
deactivated since it does not make sense
template<typename T , typename Pr >
template<typename T , typename Pr >
Member Function Documentation
template<typename T , typename Pr >
it looks like the interval is ]i1:i2] (TODO: Erdeniz can you confirm) it looks like the interval might be empty and 0 should be returned in that case
template<typename T, typename Pr>
deactivated since it does not make sense
Member Data Documentation
template<typename T, typename Pr>
template<typename T, typename Pr>
the 2d prefix sum array which is represented
template<typename T, typename Pr>
The documentation for this class was generated from the following files: