8 const ttk::SimplexId vertexId, std::vector<double> &histogram)
const {
10 histogram.resize(numberOfBins_);
11 if(vertexId < numberOfVertices_) {
12#ifdef TTK_ENABLE_OPENMP
13#pragma omp parallel for num_threads(threadNumber_) \
14 schedule(static, numberOfBins_ / threadNumber_)
16 for(
int i = 0; i < (int)numberOfBins_; i++) {
17 if((
SimplexId)probability_[i].size() == numberOfVertices_) {
18 histogram[i] = probability_[i][vertexId];
24 fill(histogram.begin(), histogram.end(), 0.0);