Sacado_trad.hpp File Reference

#include "Sacado_ConfigDefs.h"
#include "Sacado_trad_Traits.hpp"
#include <stddef.h>
#include <cmath>
#include <math.h>
Include dependency graph for Sacado_trad.hpp:

Go to the source code of this file.

Classes

class  Sacado::Rad::RAD_DoubleIgnore
class  Sacado::Rad::DoubleAvoid< T >
class  Sacado::Rad::DoubleAvoid< double >
struct  Sacado::Rad::ADmemblock< Double >
class  Sacado::Rad::ADcontext< Double >
class  Sacado::Rad::CADcontext< Double >
class  Sacado::Rad::Derp< Double >
class  Sacado::Rad::ADvari< Double >
class  Sacado::Rad::ADvar1< Double >
class  Sacado::Rad::ConstADvari< Double >
class  Sacado::Rad::IndepADvar_base0< Double >
class  Sacado::Rad::IndepADvar_base< Double >
class  Sacado::Rad::IndepADvar< Double >
class  Sacado::Rad::ADvar< Double >
struct  Sacado::Rad::ADvar< Double >::apply< U >
 Turn ADvar into a meta-function class usable with mpl::apply. More...
class  Sacado::Rad::ConstADvar< Double >
class  Sacado::Rad::ADvar1s< Double >
class  Sacado::Rad::ADvar2< Double >
class  Sacado::Rad::ADvar2q< Double >
class  Sacado::Rad::ADvarn< Double >

Namespaces

namespace  Sacado
 

Abstract class that provides access to a parameter value in a code for the parameter library. An object of this type is required to construct a ParameterRegistration object.


namespace  Sacado::Rad

Defines

#define RAD_ALLOW_WANTDERIV
#define RAD_REINIT_0(x)
#define RAD_REINIT_1(x)
#define RAD_REINIT_2(x)
#define RAD_cvchk(x)
#define RAD_REINIT_0(x)   x
#define Allow_noderiv(x)
#define Dtype   typename DoubleAvoid<Double>::dtype
#define Ttype   typename DoubleAvoid<Double>::ttype
#define Ai   const ADvari<Double>&
#define AI   const IndepADvar<Double>&
#define T   template<typename Double>
#define D   Double
#define T1(f)
#define T2(r, f)
#define F   ADvari<Double>&
#define F   friend
#define R   ADvari&
#define Ai   const ADvari&
#define T1(r, f)   F r f <>(Ai);
#define T2(r, f)
#define Ai   const ADVari&
#define AI   const IndepADvar&
#define D   Double
#define T2(r, f)
#define T1(f)   friend ADVari& f<> (AI);
#define F   friend ADVari&
#define F   friend int
#define ADvar_nd   ADvar
#define RAD_ACA
#define A   (ADvari<Double>*)
#define C(x)   *A x
#define T   template<typename Double> inline
#define F   ADvari<Double>&
#define Ai   const ADvari<Double>&
#define AI   const IndepADvar<Double>&
#define D   Double
#define T2(r, f)
#define T1(f)   T F f(AI x) { RAD_cvchk(x) return f(C(x.cv)); }

Functions

T F Sacado::Rad::copy (AI)
T F Sacado::Rad::copy (Ai)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADf1 (Double f, Double g, const IndepADvar< Double > &x)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADf2 (Double f, Double gx, Double gy, const IndepADvar< Double > &x, const IndepADvar< Double > &y)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADfn (Double f, int n, const IndepADvar< Double > *x, const Double *g)
template<typename Double >
IndepADvar< Double > & Sacado::Rad::ADvar_operatoreq (IndepADvar< Double > *, const ADvari< Double > &)
template<typename Double >
ADvar< Double > & Sacado::Rad::ADvar_operatoreq (ADvar< Double > *, const ADvari< Double > &)
template<typename Double >
void Sacado::Rad::AD_Const (const IndepADvar< Double > &)
template<typename Double >
void Sacado::Rad::AD_Const1 (Double *, const IndepADvar< Double > &)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADf1 (Double, Double, const ADvari< Double > &)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADf2 (Double, Double, Double, const ADvari< Double > &, const ADvari< Double > &)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADf2 (Double, Double, Double, const IndepADvar< Double > &, const ADvari< Double > &)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADf2 (Double, Double, Double, const ADvari< Double > &, const IndepADvar< Double > &)
template<typename Double >
Double Sacado::Rad::val (const ADvari< Double > &)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator+ (const ADvari< Double > &T)
template<typename Double >
int Sacado::Rad::operator< (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator< (const ADvari< Double > &L, Double R)
template<typename Double >
int Sacado::Rad::operator< (Double L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator<= (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator<= (const ADvari< Double > &L, Double R)
template<typename Double >
int Sacado::Rad::operator<= (Double L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator== (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator== (const ADvari< Double > &L, Double R)
template<typename Double >
int Sacado::Rad::operator== (Double L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator!= (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator!= (const ADvari< Double > &L, Double R)
template<typename Double >
int Sacado::Rad::operator!= (Double L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator>= (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator>= (const ADvari< Double > &L, Double R)
template<typename Double >
int Sacado::Rad::operator>= (Double L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator> (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
int Sacado::Rad::operator> (const ADvari< Double > &L, Double R)
template<typename Double >
int Sacado::Rad::operator> (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator- (const ADvari< Double > &T)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator+ (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator+ (const ADvari< Double > &L, Double R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator+ (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator- (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator- (const ADvari< Double > &L, Double R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator- (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator* (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator* (const ADvari< Double > &L, Double R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator* (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator/ (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator/ (const ADvari< Double > &L, Double R)
template<typename Double >
ADvari< Double > & Sacado::Rad::operator/ (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::acos (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::acosh (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::asin (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::asinh (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::atan (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::atanh (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::atan2 (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::atan2 (Double x, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::atan2 (const ADvari< Double > &L, Double y)
template<typename Double >
ADvari< Double > & Sacado::Rad::max (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::max (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::max (const ADvari< Double > &L, Double R)
template<typename Double >
ADvari< Double > & Sacado::Rad::min (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::min (Double L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::min (const ADvari< Double > &L, Double R)
template<typename Double >
ADvari< Double > & Sacado::Rad::cos (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::cosh (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::exp (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::log (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::log10 (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::pow (const ADvari< Double > &L, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::pow (Double x, const ADvari< Double > &R)
template<typename Double >
ADvari< Double > & Sacado::Rad::pow (const ADvari< Double > &L, Double y)
template<typename Double >
ADvari< Double > & Sacado::Rad::sin (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::sinh (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::sqrt (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::tan (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::tanh (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::abs (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::fabs (const ADvari< Double > &v)
template<typename Double >
ADvari< Double > & Sacado::Rad::ADfn (Double f, int n, const ADvar< Double > *x, const Double *g)

Define Documentation

#define RAD_ALLOW_WANTDERIV

Definition at line 51 of file Sacado_trad.hpp.

#define RAD_REINIT_0 (  ) 

Definition at line 91 of file Sacado_trad.hpp.

#define RAD_REINIT_1 (  ) 

Definition at line 58 of file Sacado_trad.hpp.

#define RAD_REINIT_2 (  ) 

Definition at line 59 of file Sacado_trad.hpp.

#define RAD_cvchk (  ) 

Definition at line 60 of file Sacado_trad.hpp.

#define RAD_REINIT_0 (  )     x

Definition at line 91 of file Sacado_trad.hpp.

#define Allow_noderiv (  ) 

Definition at line 97 of file Sacado_trad.hpp.

#define Dtype   typename DoubleAvoid<Double>::dtype

Definition at line 181 of file Sacado_trad.hpp.

#define Ttype   typename DoubleAvoid<Double>::ttype

Definition at line 182 of file Sacado_trad.hpp.

#define Ai   const ADvari<Double>&

Definition at line 2480 of file Sacado_trad.hpp.

#define AI   const IndepADvar<Double>&

Definition at line 2481 of file Sacado_trad.hpp.

#define T   template<typename Double>

Definition at line 2478 of file Sacado_trad.hpp.

#define D   Double

Definition at line 2482 of file Sacado_trad.hpp.

#define T1 (  ) 
Value:
T F f (AI); \
T F f (Ai);

Definition at line 2520 of file Sacado_trad.hpp.

#define T2 ( r,
 ) 
Value:
T r f(Ai,Ai); \
 T r f(Ai,D); \
 T r f(Ai,Dtype); \
 T r f(Ai,long); \
 T r f(Ai,int); \
 T r f(D,Ai); \
 T r f(Dtype,Ai); \
 T r f(long,Ai); \
 T r f(int,Ai); \
 T r f(AI,D); \
 T r f(AI,Dtype); \
 T r f(AI,long); \
 T r f(AI,int); \
 T r f(D,AI); \
 T r f(Dtype,AI); \
 T r f(long,AI); \
 T r f(int,AI); \
 T r f(Ai,AI);\
 T r f(AI,Ai);\
 T r f(AI,AI);

Definition at line 2483 of file Sacado_trad.hpp.

#define F   ADvari<Double>&

Definition at line 2479 of file Sacado_trad.hpp.

#define F   friend

Definition at line 2479 of file Sacado_trad.hpp.

#define R   ADvari&

Definition at line 461 of file Sacado_trad.hpp.

#define Ai   const ADvari&

Definition at line 2480 of file Sacado_trad.hpp.

#define T1 ( r,
 )     F r f <>(Ai);

Definition at line 2520 of file Sacado_trad.hpp.

#define T2 ( r,
 ) 
Value:
F r f <>(Ai,Ai); \
F r f <>(Ttype,Ai); \
F r f <>(Ai,Ttype); \
F r f <>(double,Ai); \
F r f <>(Ai,double); \
F r f <>(long,Ai); \
F r f <>(Ai,long); \
F r f <>(int,Ai); \
F r f <>(Ai,int);

Definition at line 2483 of file Sacado_trad.hpp.

#define Ai   const ADVari&

Definition at line 2480 of file Sacado_trad.hpp.

#define AI   const IndepADvar&

Definition at line 2481 of file Sacado_trad.hpp.

#define D   Double

Definition at line 2482 of file Sacado_trad.hpp.

#define T2 ( r,
 ) 
Value:
r f <>(AI,AI);\
 r f <>(Ai,AI);\
 r f <>(AI,Ai);\
 r f <>(Ttype,AI);\
 r f <>(double,AI);\
 r f <>(long,AI);\
 r f <>(int,AI);\
 r f <>(AI,Ttype);\
 r f <>(AI,double);\
 r f <>(AI,long);\
 r f <>(AI,int);

Definition at line 2483 of file Sacado_trad.hpp.

#define T1 (  )     friend ADVari& f<> (AI);

Definition at line 2520 of file Sacado_trad.hpp.

#define F   friend ADVari&

Definition at line 2479 of file Sacado_trad.hpp.

#define F   friend int

Definition at line 2479 of file Sacado_trad.hpp.

#define ADvar_nd   ADvar

Definition at line 1067 of file Sacado_trad.hpp.

#define RAD_ACA

Definition at line 2022 of file Sacado_trad.hpp.

#define A   (ADvari<Double>*)

Definition at line 2472 of file Sacado_trad.hpp.

#define C (  )     *A x

Definition at line 2476 of file Sacado_trad.hpp.

#define T   template<typename Double> inline

Definition at line 2478 of file Sacado_trad.hpp.

#define F   ADvari<Double>&

Definition at line 2479 of file Sacado_trad.hpp.

#define Ai   const ADvari<Double>&

Definition at line 2480 of file Sacado_trad.hpp.

#define AI   const IndepADvar<Double>&

Definition at line 2481 of file Sacado_trad.hpp.

#define D   Double

Definition at line 2482 of file Sacado_trad.hpp.

#define T2 ( r,
 ) 
Value:
T r f(Ai L, AI R) { RAD_cvchk(R) return f(L, C(R.cv)); }\
 T r f(AI L, Ai R) { RAD_cvchk(L) return f(C(L.cv), R); }\
 T r f(AI L, AI R) { RAD_cvchk(L) RAD_cvchk(R) return f(C(L.cv), C(R.cv)); }\
 T r f(AI L, D R) { RAD_cvchk(L) return f(C(L.cv), R); }\
 T r f(Ai L, Dtype R) { return f(L, (D)R); }\
 T r f(AI L, Dtype R) { RAD_cvchk(L) return f(C(L.cv), (D)R); }\
 T r f(Ai L, long R) { return f(L, (D)R); }\
 T r f(AI L, long R) { RAD_cvchk(L) return f(C(L.cv), (D)R); }\
 T r f(Ai L, int R) { return f(L, (D)R); }\
 T r f(AI L, int R) { RAD_cvchk(L) return f(C(L.cv), (D)R); }\
 T r f(D L, AI R) { RAD_cvchk(R) return f(L, C(R.cv)); }\
 T r f(Dtype L, Ai R) { return f((D)L, R); }\
 T r f(Dtype L, AI R) { RAD_cvchk(R) return f((D)L, C(R.cv)); }\
 T r f(long L, Ai R) { return f((D)L, R); }\
 T r f(long L, AI R) { RAD_cvchk(R) return f((D)L, C(R.cv)); }\
 T r f(int L, Ai R) { return f((D)L, R); }\
 T r f(int L, AI R) { RAD_cvchk(R) return f((D)L, C(R.cv)); }

Definition at line 2483 of file Sacado_trad.hpp.

#define T1 (  )     T F f(AI x) { RAD_cvchk(x) return f(C(x.cv)); }

Definition at line 2520 of file Sacado_trad.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:19:41 2011 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.6.3