| 44 | } |
| 45 | |
| 46 | void initialize(const Allocator& inAllocator, uint64_t inNumRows) { |
| 47 | // Allocate the storage for 1 column |
| 48 | mStorage = inAllocator.allocateArray<double, dbal::AggregateContext, |
| 49 | dbal::DoZero, dbal::ThrowBadAlloc>(arraySize(inNumRows, 1)); |
| 50 | rebind(inNumRows, 1); |
| 51 | numRows = inNumRows; |
| 52 | numCols = 0; |
| 53 | } |
| 54 | |
| 55 | typename HandleTraits<Handle>::MatrixTransparentHandleMap::ColXpr |
| 56 | newColumn(const Allocator& inAllocator) { |