libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_util.h
Go to the documentation of this file.
1#ifndef ODE_UTIL_H_
2#define ODE_UTIL_H_
3
5
6#include <cmath>
7
8namespace ode {
9
11double ode_max2 (double a, double b);
12
14double ode_min2 (double a, double b);
15
17bool ode_is_close (double a, double b, double thresh);
18
19} // namespace ode
20
21#endif
double ode_min2(double a, double b)
Simple minimum of two doubles.
Definition ode_util.cc:12
double ode_max2(double a, double b)
Simple maximum of two doubles.
Definition ode_util.cc:7
bool ode_is_close(double a, double b, double thresh)
Checks if two numbers are very close to each other.
Definition ode_util.cc:17