Class quantile::detail::CentroidsMemory

template<typename RealType, typename IndexType>
class CentroidsMemory

Public Functions

CentroidsMemory(size_t const size)
size_t nbytes() const
size_t size() const
VectorView<RealType> sums()
VectorView<IndexType> counts()

Private Members

std::vector<RealType> sums_
std::vector<IndexType> counts_