common_functions.hpp File Reference

Simple, commonly-used math routines. More...

#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>
square (T val)
 Square a value.
template<typename 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)


Detailed Description

Simple, commonly-used math routines.


Generated on Sun Jul 15 20:46:28 2007 for BTK Core by  doxygen 1.5.1