rmath.h File Reference

#include <sofa/helper/system/config.h>
#include <math.h>

Include dependency graph for rmath.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  sofa
 Main SOFA namespace.
namespace  sofa::helper
 Utility helper classes that we need, but that are not the core of the plateform.

Defines

#define R_PI   3.141592653589793238462

Functions

template<class real >
int sofa::helper::rfloor (real r)
template<class real >
int sofa::helper::rnear (real r)
int sofa::helper::rceil (double r)
template<class real >
real sofa::helper::rabs (real r)
template<class real >
real sofa::helper::rmin (real r, real s)
template<class real >
real sofa::helper::rmax (real r, real s)
template<class T >
T sofa::helper::rlerp (const T &a, const T &b, float f)
template<class T >
T sofa::helper::rsqrt (const T &a)
double sofa::helper::rsqrt (const double &a)
long double sofa::helper::rsqrt (const long double &a)
template<class T >
const T sofa::helper::SQR (const T &a)
template<class T >
const T sofa::helper::SIGN (const T &a, const T &b)
template<class T >
void sofa::helper::SWAP (T &a, T &b)
void sofa::helper::shft3 (double &a, double &b, double &c, const double d)


Define Documentation

#define R_PI   3.141592653589793238462


Generated on Sun Nov 23 04:07:26 2008 for Sofa by  doxygen 1.5.7.1