#include <cstdio>#include <float.h>#include "Sacado_MathFunctions.hpp"#include "Sacado_trad.hpp"#include "Sacado_trad2.hpp"#include "Sacado_rad2.hpp"#include "Sacado_Fad_SFad.hpp"Include dependency graph for hesopcheck.cpp:

Go to the source code of this file.
Classes | |
| struct | Func4 |
| struct | Func42 |
Defines | |
| #define | UF(T, f, fn) T fn(T &x) { return f(x); } |
| #define | UF4(f) UF(ADVar,f,f ## _ADV) UF(DADVar,f,f ## _DADV) UF(FDReal,f,f ## _FDR) UF(AFReal,f,f ## _AFR) |
| #define | UF(T, f, fn) T fn(T &x, T &y) { return f(x,y); } |
| #define | U4f(f, d) { #f, d, f ## _ADV, f ## _DADV, f ## _FDR, f ## _AFR } |
| #define | Dcl(T, T1) T x ## T1, y ## T1, z ## T1 |
| #define | In(T) p ## T[0] = &x ## T; p ## T[1] = &z ## T |
Typedefs | |
| typedef Sacado::Rad2d::ADvar | ADVar |
| typedef Sacado::Rad2::ADvar< double > | DADVar |
| typedef Sacado::Rad::ADvar< double > | DReal |
| typedef Sacado::Fad::SFad< DReal, 1 > | FDReal |
| typedef Sacado::Fad::SFad< double, 1 > | FReal |
| typedef Sacado::Rad::ADvar< FReal > | AFReal |
| typedef ADVar(*) | ADVar_uf (ADVar &) |
| typedef DADVar(*) | DADVar_uf (DADVar &) |
| typedef FDReal(*) | FDReal_uf (FDReal &) |
| typedef AFReal(*) | AFReal_uf (AFReal &) |
| typedef ADVar(*) | ADVar_uf2 (ADVar &, ADVar &) |
| typedef DADVar(*) | DADVar_uf2 (DADVar &, DADVar &) |
| typedef FDReal(*) | FDReal_uf2 (FDReal &, FDReal &) |
| typedef AFReal(*) | AFReal_uf2 (AFReal &, AFReal &) |
Functions | |
| static int | differ (double a, double b) |
| static int | usage (int rc) |
| int | main (int argc, char **argv) |
Variables | |
| static double | dom_acosh [] = { 1., DBL_MAX } |
| static double | dom_all [] = { -DBL_MAX, DBL_MAX } |
| static double | dom_invtrig [] = { -1., 1. } |
| static double | dom_log [] = { DBL_MIN, DBL_MAX } |
| static Func4 | UT [] |
| static Func42 | UT2 [] |
| static char * | progname |
Definition at line 72 of file hesopcheck.cpp.
| #define UF4 | ( | f | ) | UF(ADVar,f,f ## _ADV) UF(DADVar,f,f ## _DADV) UF(FDReal,f,f ## _FDR) UF(AFReal,f,f ## _AFR) |
Definition at line 50 of file hesopcheck.cpp.
Definition at line 72 of file hesopcheck.cpp.
Definition at line 103 of file hesopcheck.cpp.
| #define Dcl | ( | T, | |||
| T1 | ) | T x ## T1, y ## T1, z ## T1 |
| #define In | ( | T | ) | p ## T[0] = &x ## T; p ## T[1] = &z ## T |
| typedef Sacado::Rad2d::ADvar ADVar |
Definition at line 41 of file hesopcheck.cpp.
| typedef Sacado::Rad2::ADvar<double> DADVar |
Definition at line 42 of file hesopcheck.cpp.
| typedef Sacado::Rad::ADvar<double> DReal |
Definition at line 43 of file hesopcheck.cpp.
| typedef Sacado::Fad::SFad<DReal,1> FDReal |
Definition at line 44 of file hesopcheck.cpp.
| typedef Sacado::Fad::SFad<double,1> FReal |
Definition at line 45 of file hesopcheck.cpp.
| typedef Sacado::Rad::ADvar<FReal> AFReal |
Definition at line 46 of file hesopcheck.cpp.
Definition at line 77 of file hesopcheck.cpp.
Definition at line 78 of file hesopcheck.cpp.
Definition at line 79 of file hesopcheck.cpp.
Definition at line 80 of file hesopcheck.cpp.
| typedef DADVar(*) DADVar_uf2(DADVar &, DADVar &) |
Definition at line 83 of file hesopcheck.cpp.
| typedef FDReal(*) FDReal_uf2(FDReal &, FDReal &) |
Definition at line 84 of file hesopcheck.cpp.
| typedef AFReal(*) AFReal_uf2(AFReal &, AFReal &) |
Definition at line 85 of file hesopcheck.cpp.
| static int differ | ( | double | a, | |
| double | b | |||
| ) | [static] |
Definition at line 146 of file hesopcheck.cpp.
| static int usage | ( | int | rc | ) | [static] |
Definition at line 163 of file hesopcheck.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 173 of file hesopcheck.cpp.
double dom_acosh[] = { 1., DBL_MAX } [static] |
Definition at line 88 of file hesopcheck.cpp.
double dom_all[] = { -DBL_MAX, DBL_MAX } [static] |
Definition at line 89 of file hesopcheck.cpp.
double dom_invtrig[] = { -1., 1. } [static] |
Definition at line 90 of file hesopcheck.cpp.
double dom_log[] = { DBL_MIN, DBL_MAX } [static] |
Definition at line 91 of file hesopcheck.cpp.
Initial value:
{
U4f(abs, dom_all),
U4f(acos, dom_invtrig),
U4f(acosh, dom_acosh),
U4f(asin, dom_invtrig),
U4f(asinh, dom_all),
U4f(atan, dom_all),
U4f(atanh, dom_invtrig),
U4f(cos, dom_all),
U4f(cosh, dom_all),
U4f(exp, dom_all),
U4f(fabs, dom_all),
U4f(log, dom_log),
U4f(log10, dom_log),
U4f(sin, dom_all),
U4f(sinh, dom_all),
U4f(sqrt, dom_log),
U4f(tan, dom_all),
U4f(tanh, dom_all)
}
Definition at line 105 of file hesopcheck.cpp.
char* progname [static] |
Definition at line 160 of file hesopcheck.cpp.
1.4.7