25 #ifndef _MATHUTILS_PDF_PDFMODEEXTRACTION_H 26 #define _MATHUTILS_PDF_PDFMODEEXTRACTION_H 49 ModeInfo(
double highest_sample,
double mean,
double interpolated,
double area):
108 std::vector<ModeInfo>
extractNHighestModes(std::vector<double>& x_sampling, std::vector<double>& pdf_sampling,
double merge_ratio,
size_t n);
144 std::vector<double>& pdf_sampling,
ModeInfo(double highest_sample, double mean, double interpolated, double area)
Class for storing the information of a PDF mode.
double getHighestSamplePosition() const
double getMeanPosition() const
std::vector< ModeInfo > extractNHighestModes(const XYDataset::XYDataset &pdf, double merge_ratio, size_t n)
This module provides an interface for accessing two dimensional datasets (pairs of (X...
std::vector< ModeInfo > extractNBigestModes(const XYDataset::XYDataset &pdf, double merge_ratio, size_t n)
double getInterpolatedMaxPosition() const
double getModeArea() const