#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <vector>
Go to the source code of this file.
Typedefs | |
typedef double | Real |
typedef std::vector< double > | Vector |
Functions | |
Real | Abs (Real x) |
bool | FuzzyEquals (Real x, Real y, Real tol) |
bool | FuzzyZero (Real x, Real tol) |
bool | IsInf (Real x) |
Real | Max (Real x, Real y) |
Real | Min (Real x, Real y) |
Real | Rand () |
Real | Sign (Real x) |
Real | Sqr (Real x) |
Real | Sqrt (Real x) |
void | Swap (Real &x, Real &y) |
Variables | |
static const Real | Inf = 1e300 |