Math.hh File Reference
#include <vector>
#include <boost/range/algorithm/lower_bound.hpp>
#include <boost/range/algorithm/upper_bound.hpp>
Include dependency graph for Math.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
boca | |
Boosted Collider Analysis. | |
Functions | |
template<typename Value > | |
auto | boca::sqr (Value const &value) |
square of value More... | |
template<typename Value > | |
auto | boca::cube (Value const &value) |
cube of value More... | |
template<typename Value_ > | |
int | boca::sgn (Value_ value) |
sign of value More... | |
template<typename Value_ > | |
int | boca::LowerBound (std::vector< Value_ > const &vector, Value_ value) |
sign of value More... | |
template<typename Value_ > | |
int | boca::UpperBound (std::vector< Value_ > const &vector, Value_ value) |
Upper bound of vector. More... | |
double | boca::RoundError (double value) |
round error two two digits More... | |
double | boca::RoundToDigits (double value, int digits=3) |
Round value to digits. More... | |
double | boca::RoundToError (double value, double error) |
Round value to precision of error. More... | |
double | boca::FloorToDigits (double value, int digits=2) |
Floor value to digits. More... | |
double | boca::CeilToDigits (double value, int digits=2) |
Ceiling to digits. More... | |