Namespaces | Functions

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/core/math/math_functions.h File Reference

#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 >
OpenTissue::math::clamp (T const &value, T const &min_value, T const &max_value)
template<typename T >
OpenTissue::math::clamp_min (T const &value, T const &min_value)
template<typename T >
OpenTissue::math::clamp_max (T const &value, T const &max_value)
template<typename T >
OpenTissue::math::clamp_zero_one (T const &value)
template<typename T >
OpenTissue::math::fac (unsigned long n)
template<typename T >
OpenTissue::math::sgn (T const &val)
template<typename T >
OpenTissue::math::sinc (T &x)
template<typename T >
OpenTissue::math::to_degrees (T const &radians)
template<typename T >
OpenTissue::math::to_radians (T const &degrees)