#include <OpenTissue/configuration.h>
#include <OpenTissue/core/math/math_constants.h>
#include <boost/numeric/conversion/bounds.hpp>
#include <boost/cast.hpp>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | OpenTissue |
namespace | OpenTissue::math |
Functions | |
template<typename T > | |
T | OpenTissue::math::clamp (T const &value, T const &min_value, T const &max_value) |
template<typename T > | |
T | OpenTissue::math::clamp_min (T const &value, T const &min_value) |
template<typename T > | |
T | OpenTissue::math::clamp_max (T const &value, T const &max_value) |
template<typename T > | |
T | OpenTissue::math::clamp_zero_one (T const &value) |
template<typename T > | |
T | OpenTissue::math::fac (unsigned long n) |
template<typename T > | |
T | OpenTissue::math::sgn (T const &val) |
template<typename T > | |
T | OpenTissue::math::sinc (T &x) |
template<typename T > | |
T | OpenTissue::math::to_degrees (T const &radians) |
template<typename T > | |
T | OpenTissue::math::to_radians (T const °rees) |