Sacado Package Browser (Single Doxygen Collection) Version of the Day
Classes | Namespaces | Defines | Enumerations | Functions
Sacado_trad2.hpp File Reference
#include "Sacado_ConfigDefs.h"
#include "Sacado_trad2_Traits.hpp"
#include <stddef.h>
#include <cmath>
#include <math.h>
Include dependency graph for Sacado_trad2.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Sacado::Rad2::RAD_DoubleIgnore
 RAD_NO_USING_STDCC. More...
class  Sacado::Rad2::DoubleAvoid< T >
class  Sacado::Rad2::DoubleAvoid< double >
struct  Sacado::Rad2::ADmemblock< Double >
class  Sacado::Rad2::ADvari_block< Double >
class  Sacado::Rad2::ADcontext< Double >
class  Sacado::Rad2::CADcontext< Double >
class  Sacado::Rad2::Derp< Double >
class  Sacado::Rad2::ADvari< Double >
class  Sacado::Rad2::ADvar1< Double >
class  Sacado::Rad2::ConstADvari< Double >
class  Sacado::Rad2::IndepADvar< Double >
class  Sacado::Rad2::ADvar< Double >
struct  Sacado::Rad2::ADvar< Double >::apply< U >
 Turn ADvar into a meta-function class usable with mpl::apply. More...
class  Sacado::Rad2::ConstADvar< Double >
class  Sacado::Rad2::ADvar1s< Double >
class  Sacado::Rad2::ADvar1g< Double >
class  Sacado::Rad2::ADvar2< Double >
class  Sacado::Rad2::ADvar2q< Double >
class  Sacado::Rad2::ADvar2g< Double >
class  Sacado::Rad2::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::Rad2
namespace  std

Defines

#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 SNS   Sacado::Rad2
#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 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) { return f(C(x.cv)); }

Enumerations

enum  Sacado::Rad2::Advari_Opclass {
  Sacado::Rad2::Hv_const, Sacado::Rad2::Hv_copy, Sacado::Rad2::Hv_binary, Sacado::Rad2::Hv_unary,
  Sacado::Rad2::Hv_negate, Sacado::Rad2::Hv_plusLR, Sacado::Rad2::Hv_minusLR, Sacado::Rad2::Hv_timesL,
  Sacado::Rad2::Hv_timesLR, Sacado::Rad2::Hv_quotLR, Sacado::Rad2::Hv_nary
}

Functions

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

Define Documentation

#define Dtype   typename DoubleAvoid<Double>::dtype

Definition at line 138 of file Sacado_trad2.hpp.

#define Ttype   typename DoubleAvoid<Double>::ttype

Definition at line 139 of file Sacado_trad2.hpp.

#define Ai   const ADvari<Double>&

Definition at line 2246 of file Sacado_trad2.hpp.

#define AI   const IndepADvar<Double>&

Definition at line 2247 of file Sacado_trad2.hpp.

#define T   template<typename Double>

Definition at line 2244 of file Sacado_trad2.hpp.

#define D   Double

Definition at line 2248 of file Sacado_trad2.hpp.

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

Definition at line 2286 of file Sacado_trad2.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 2249 of file Sacado_trad2.hpp.

#define F   ADvari<Double>&

Definition at line 2245 of file Sacado_trad2.hpp.

#define SNS   Sacado::Rad2

Definition at line 328 of file Sacado_trad2.hpp.

#define F   friend

Definition at line 2245 of file Sacado_trad2.hpp.

#define R   ADvari&

Definition at line 468 of file Sacado_trad2.hpp.

#define Ai   const ADvari&

Definition at line 2246 of file Sacado_trad2.hpp.

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

Definition at line 2286 of file Sacado_trad2.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 2249 of file Sacado_trad2.hpp.

#define Ai   const ADVari&

Definition at line 2246 of file Sacado_trad2.hpp.

#define AI   const IndepADvar&

Definition at line 2247 of file Sacado_trad2.hpp.

#define D   Double

Definition at line 2248 of file Sacado_trad2.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 2249 of file Sacado_trad2.hpp.

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

Definition at line 2286 of file Sacado_trad2.hpp.

#define F   friend ADVari&

Definition at line 2245 of file Sacado_trad2.hpp.

#define F   friend int

Definition at line 2245 of file Sacado_trad2.hpp.

#define RAD_ACA

Definition at line 1589 of file Sacado_trad2.hpp.

#define A   (ADvari<Double>*)

Definition at line 2238 of file Sacado_trad2.hpp.

#define C (   x)    *A x

Definition at line 2242 of file Sacado_trad2.hpp.

#define T   template<typename Double> inline

Definition at line 2244 of file Sacado_trad2.hpp.

#define F   ADvari<Double>&

Definition at line 2245 of file Sacado_trad2.hpp.

#define Ai   const ADvari<Double>&

Definition at line 2246 of file Sacado_trad2.hpp.

#define AI   const IndepADvar<Double>&

Definition at line 2247 of file Sacado_trad2.hpp.

#define D   Double

Definition at line 2248 of file Sacado_trad2.hpp.

#define T2 (   r,
 
)
Value:
T r f(Ai L, AI R) { return f(L, C(R.cv)); }\
 T r f(AI L, Ai R) { return f(C(L.cv), R); }\
 T r f(AI L, AI R) { return f(C(L.cv), C(R.cv)); }\
 T r f(AI L, D R) { 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) { 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) { 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) { return f(C(L.cv), (D)R); }\
 T r f(D L, AI 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) { 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) { 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) { return f((D)L, C(R.cv)); }

Definition at line 2249 of file Sacado_trad2.hpp.

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

Definition at line 2286 of file Sacado_trad2.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines