|
Cardinal
|
Functions | |
| unsigned int | linearBin (const Real &value, const std::vector< Real > &bounds) |
| Real | midpoint (const unsigned int &bin, const std::vector< Real > &bounds) |
| unsigned int bin_utility::linearBin | ( | const Real & | value, |
| const std::vector< Real > & | bounds | ||
| ) |
Map value onto a linear binning
| [in] | value | input value |
| [in] | bounds | bounds of the bins |
| Real bin_utility::midpoint | ( | const unsigned int & | bin, |
| const std::vector< Real > & | bounds | ||
| ) |
Get the midpoint of a bin
| [in] | bin | index |
| [in] | bounds | bounds of the bins |
1.8.16