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 53 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 31 of file hesopcheck.cpp.

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

Definition at line 53 of file hesopcheck.cpp.

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

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

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

Definition at line 23 of file hesopcheck.cpp.

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

Definition at line 24 of file hesopcheck.cpp.

Definition at line 25 of file hesopcheck.cpp.

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

Definition at line 26 of file hesopcheck.cpp.

Definition at line 27 of file hesopcheck.cpp.

typedef ADVar(* ADVar_uf)(ADVar &)

Definition at line 58 of file hesopcheck.cpp.

typedef DADVar(* DADVar_uf)(DADVar &)

Definition at line 59 of file hesopcheck.cpp.

typedef FDReal(* FDReal_uf)(FDReal &)

Definition at line 60 of file hesopcheck.cpp.

typedef AFReal(* AFReal_uf)(AFReal &)

Definition at line 61 of file hesopcheck.cpp.

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

Definition at line 63 of file hesopcheck.cpp.

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

Definition at line 64 of file hesopcheck.cpp.

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

Definition at line 65 of file hesopcheck.cpp.

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

Definition at line 66 of file hesopcheck.cpp.

Function Documentation

static int differ ( double  a,
double  b 
)
static

Definition at line 127 of file hesopcheck.cpp.

static int usage ( int  rc)
static

Definition at line 144 of file hesopcheck.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 154 of file hesopcheck.cpp.

Variable Documentation

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

Definition at line 69 of file hesopcheck.cpp.

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

Definition at line 70 of file hesopcheck.cpp.

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

Definition at line 71 of file hesopcheck.cpp.

double dom_log[] = { DBL_MIN, DBL_MAX }
static

Definition at line 72 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:84
static double dom_log[]
Definition: hesopcheck.cpp:72
sqrt(expr.val())
sinh(expr.val())
tan(expr.val())
static double dom_all[]
Definition: hesopcheck.cpp:70
sin(expr.val())
static double dom_acosh[]
Definition: hesopcheck.cpp:69
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:71

Definition at line 86 of file hesopcheck.cpp.

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

Definition at line 117 of file hesopcheck.cpp.

char* progname
static

Definition at line 141 of file hesopcheck.cpp.