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
8
namespace
ode
{
9
11
double
ode_max2
(
double
a,
double
b);
12
14
double
ode_min2
(
double
a,
double
b);
15
17
bool
ode_is_close
(
double
a,
double
b,
double
thresh);
18
19
}
// namespace ode
20
21
#endif
ode
Definition
ode_adaptive.cc:5
ode::ode_min2
double ode_min2(double a, double b)
Simple minimum of two doubles.
Definition
ode_util.cc:12
ode::ode_max2
double ode_max2(double a, double b)
Simple maximum of two doubles.
Definition
ode_util.cc:7
ode::ode_is_close
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
include
ode
ode_util.h
Generated by
1.10.0