| 44 | } |
| 45 | |
| 46 | inline void initialize(const Allocator &inAllocator, |
| 47 | uint32_t inNumDimensions) { |
| 48 | |
| 49 | mStorage = inAllocator.allocateArray<double, dbal::AggregateContext, |
| 50 | dbal::DoZero, dbal::ThrowBadAlloc>(arraySize(inNumDimensions)); |
| 51 | rebind(inNumDimensions); |
| 52 | numDimensions = inNumDimensions; |
| 53 | } |
| 54 | |
| 55 | template <class OtherHandle> |
| 56 | AvgVectorState &operator+=( |