Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions | Variables
hesopcheck.cpp File Reference
#include <cstdio>
#include <float.h>
#include "Sacado_DisableKokkosCuda.hpp"
#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
 

Macros

#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< FRealAFReal
 
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
 

Macro Definition Documentation

#define UF (   T,
  f,
  fn 
)    T fn(T &x) { return f(x); }

Definition at line 73 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 51 of file hesopcheck.cpp.

#define UF (   T,
  f,
  fn 
)    T fn(T &x, T &y) { return f(x,y); }

Definition at line 73 of file hesopcheck.cpp.

#define U4f (   f,
 
)    { #f, d, f ## _ADV, f ## _DADV, f ## _FDR, f ## _AFR }

Definition at line 104 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 Documentation

Definition at line 42 of file hesopcheck.cpp.

typedef Sacado::Rad2::ADvar<double> DADVar

Definition at line 43 of file hesopcheck.cpp.

typedef Sacado::Rad::ADvar<double> DReal

Definition at line 44 of file hesopcheck.cpp.

Definition at line 45 of file hesopcheck.cpp.

typedef Sacado::Fad::SFad<double,1> FReal

Definition at line 46 of file hesopcheck.cpp.

Definition at line 47 of file hesopcheck.cpp.

typedef ADVar(* ADVar_uf)(ADVar &)

Definition at line 78 of file hesopcheck.cpp.

typedef DADVar(* DADVar_uf)(DADVar &)

Definition at line 79 of file hesopcheck.cpp.

typedef FDReal(* FDReal_uf)(FDReal &)

Definition at line 80 of file hesopcheck.cpp.

typedef AFReal(* AFReal_uf)(AFReal &)

Definition at line 81 of file hesopcheck.cpp.

typedef ADVar(* ADVar_uf2)(ADVar &, ADVar &)

Definition at line 83 of file hesopcheck.cpp.

typedef DADVar(* DADVar_uf2)(DADVar &, DADVar &)

Definition at line 84 of file hesopcheck.cpp.

typedef FDReal(* FDReal_uf2)(FDReal &, FDReal &)

Definition at line 85 of file hesopcheck.cpp.

typedef AFReal(* AFReal_uf2)(AFReal &, AFReal &)

Definition at line 86 of file hesopcheck.cpp.

Function Documentation

static int differ ( double  a,
double  b 
)
static

Definition at line 147 of file hesopcheck.cpp.

static int usage ( int  rc)
static

Definition at line 164 of file hesopcheck.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 174 of file hesopcheck.cpp.

Variable Documentation

double dom_acosh[] = { 1., DBL_MAX }
static

Definition at line 89 of file hesopcheck.cpp.

double dom_all[] = { -DBL_MAX, DBL_MAX }
static

Definition at line 90 of file hesopcheck.cpp.

double dom_invtrig[] = { -1., 1. }
static

Definition at line 91 of file hesopcheck.cpp.

double dom_log[] = { DBL_MIN, DBL_MAX }
static

Definition at line 92 of file hesopcheck.cpp.

Func4 UT[]
static
Initial value:
= {
}
asinh(expr.val())
asin(expr.val())
cosh(expr.val())
abs(expr.val())
atanh(expr.val())
atan(expr.val())
#define U4f(f, d)
Definition: hesopcheck.cpp:104
static double dom_log[]
Definition: hesopcheck.cpp:92
sqrt(expr.val())
sinh(expr.val())
tan(expr.val())
static double dom_all[]
Definition: hesopcheck.cpp:90
sin(expr.val())
static double dom_acosh[]
Definition: hesopcheck.cpp:89
log(expr.val())
acosh(expr.val())
acos(expr.val())
exp(expr.val())
fabs(expr.val())
log10(expr.val())
cos(expr.val())
static double dom_invtrig[]
Definition: hesopcheck.cpp:91

Definition at line 106 of file hesopcheck.cpp.

Func42 UT2[]
static
Initial value:
= {
}
#define U4f(f, d)
Definition: hesopcheck.cpp:104
atan2(expr1.val(), expr2.val())
static double dom_all[]
Definition: hesopcheck.cpp:90

Definition at line 137 of file hesopcheck.cpp.

char* progname
static

Definition at line 161 of file hesopcheck.cpp.