estar/numeric.hpp File Reference

#include <limits>
#include <cmath>

Include dependency graph for numeric.hpp:

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

Go to the source code of this file.

Namespaces

namespace  estar

Functions

template<typename T>
estar::minval (T a, T b)
 Evaluates to the minimum of it's two arguments.
template<typename T>
estar::maxval (T a, T b)
 Evaluates to the maximum of it's two arguments.
template<typename T>
estar::boundval (T lower_bound, T value, T upper_bound)
 Evaluates to the middle argument or one of the bounds if the value is too great or too small.
template<typename T>
estar::absval (const T &a)
 Evaluates to the absolute value of it's argument.
template<typename T>
estar::square (T x)
 Calculates the square of its argument.
double estar::mod2pi (double x)
 Set an angle to the range -pi < angle <= +pi.
int estar::QuadraticEquation (double a, double b, double c, double &x1, double &x2)
 Solves the quadratic equation "a * x ^ 2 + b * x + c == 0".


doxygen SourceForge.net Logo
E* Interpolated Graph Replanner Wed Dec 12 18:55:46 2007