Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
Sacado_tradvec.hpp File Reference
#include "Sacado_ConfigDefs.h"
#include "Sacado_tradvec_Traits.hpp"
#include <stddef.h>
#include <Sacado_cmath.hpp>
Include dependency graph for Sacado_tradvec.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 Sacado
 
 Sacado::RadVec
 

Macros

#define Padvinit   /*nothing*/
 
#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   /*nothing*/
 
#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)); }
 

Functions

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

Macro Definition Documentation

#define Padvinit   /*nothing*/

RAD_AUTO_AD_Const

Definition at line 77 of file Sacado_tradvec.hpp.

#define Dtype   typename DoubleAvoid<Double>::dtype

Definition at line 121 of file Sacado_tradvec.hpp.

#define Ttype   typename DoubleAvoid<Double>::ttype

Definition at line 122 of file Sacado_tradvec.hpp.

#define Ai   const ADvari<Double>&

Definition at line 1966 of file Sacado_tradvec.hpp.

#define AI   const IndepADvar<Double>&

Definition at line 1967 of file Sacado_tradvec.hpp.

#define T   template<typename Double>

Definition at line 1964 of file Sacado_tradvec.hpp.

#define D   Double

Definition at line 1968 of file Sacado_tradvec.hpp.

#define T1 (   f)
Value:
T F f (AI); \
T F f (Ai);
ADT_RAD ADvari< double > Ai
void f()
ADT_RAD IndepADvar< double > AI
#define T
Definition: Sacado_rad.hpp:573

Definition at line 2006 of file Sacado_tradvec.hpp.

#define T2 (   r,
  f 
)
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);
ADT_RAD ADvari< double > Ai
void f()
ADT_RAD IndepADvar< double > AI
#define Dtype
#define T
Definition: Sacado_rad.hpp:573

Definition at line 1969 of file Sacado_tradvec.hpp.

#define F   ADvari<Double>&

Definition at line 1965 of file Sacado_tradvec.hpp.

#define F   friend

Definition at line 1965 of file Sacado_tradvec.hpp.

#define R   ADvari&

Definition at line 359 of file Sacado_tradvec.hpp.

#define Ai   const ADvari&

Definition at line 1966 of file Sacado_tradvec.hpp.

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

Definition at line 2006 of file Sacado_tradvec.hpp.

#define T2 (   r,
  f 
)
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);
#define Ai
Definition: Sacado_rad.hpp:575
#define F
Definition: Sacado_rad.hpp:574
#define Ttype

Definition at line 1969 of file Sacado_tradvec.hpp.

#define Ai   const ADVari&

Definition at line 1966 of file Sacado_tradvec.hpp.

#define AI   const IndepADvar&

Definition at line 1967 of file Sacado_tradvec.hpp.

#define D   Double

Definition at line 1968 of file Sacado_tradvec.hpp.

#define T2 (   r,
  f 
)
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);
#define Ai
Definition: Sacado_rad.hpp:575
#define AI
Definition: Sacado_rad.hpp:576
#define Ttype

Definition at line 1969 of file Sacado_tradvec.hpp.

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

Definition at line 2006 of file Sacado_tradvec.hpp.

#define F   friend ADVari&

Definition at line 1965 of file Sacado_tradvec.hpp.

#define F   friend int

Definition at line 1965 of file Sacado_tradvec.hpp.

#define ADvar_nd   ADvar

Definition at line 788 of file Sacado_tradvec.hpp.

#define RAD_ACA   /*nothing*/

Definition at line 1537 of file Sacado_tradvec.hpp.

#define A   (ADvari<Double>*)

Definition at line 1958 of file Sacado_tradvec.hpp.

#define C (   x)    *A x

Definition at line 1962 of file Sacado_tradvec.hpp.

#define T   template<typename Double> inline

Definition at line 1964 of file Sacado_tradvec.hpp.

#define F   ADvari<Double>&

Definition at line 1965 of file Sacado_tradvec.hpp.

#define Ai   const ADvari<Double>&

Definition at line 1966 of file Sacado_tradvec.hpp.

#define AI   const IndepADvar<Double>&

Definition at line 1967 of file Sacado_tradvec.hpp.

#define D   Double

Definition at line 1968 of file Sacado_tradvec.hpp.

#define T2 (   r,
  f 
)
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)); }
ADT_RAD ADvari< double > Ai
void f()
ADT_RAD IndepADvar< double > AI
#define Dtype
#define T
Definition: Sacado_rad.hpp:573
#define C(x)

Definition at line 1969 of file Sacado_tradvec.hpp.

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

Definition at line 2006 of file Sacado_tradvec.hpp.