hesopcheck.cpp File Reference

#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


Define Documentation

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

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.

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

Definition at line 72 of file hesopcheck.cpp.

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

Definition at line 103 of file hesopcheck.cpp.

#define Dcl ( T,
T1   )     T x ## T1, y ## T1, z ## T1

#define In (  )     p ## T[0] = &x ## T; p ## T[1] = &z ## T


Typedef Documentation

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.

typedef ADVar(*) ADVar_uf(ADVar &)

Definition at line 77 of file hesopcheck.cpp.

typedef DADVar(*) DADVar_uf(DADVar &)

Definition at line 78 of file hesopcheck.cpp.

typedef FDReal(*) FDReal_uf(FDReal &)

Definition at line 79 of file hesopcheck.cpp.

typedef AFReal(*) AFReal_uf(AFReal &)

Definition at line 80 of file hesopcheck.cpp.

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

Definition at line 82 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.


Function Documentation

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.


Variable Documentation

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.

Func4 UT[] [static]

Initial value:

Definition at line 105 of file hesopcheck.cpp.

Func42 UT2[] [static]

Initial value:

Definition at line 136 of file hesopcheck.cpp.

char* progname [static]

Definition at line 160 of file hesopcheck.cpp.


Generated on Wed May 12 21:39:43 2010 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.4.7