#include <cmath>
#include <btk/core/math/constants.hpp>
Go to the source code of this file.
Namespaces | |
namespace | BTK |
namespace | BTK::MATH |
Functions | |
template<typename T> | |
T | square (T val) |
Square a value. | |
template<typename T> | |
T | cube (T val) |
Cube a value. | |
template<typename T> | |
bool | equivalent (T x, T y, T precision) |
template<typename T> | |
bool | equivalent (T x, T y) |
template<> | |
bool | equivalent (float x, float y) |
template<> | |
bool | equivalent (double x, double y) |
double | deg2rad (double angle_in_degrees) |
double | rad2deg (double angle_in_radians) |