Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Friends | List of all members
Sacado::Rad::ADvar< Double > Class Template Reference

#include <Sacado_trad.hpp>

Inheritance diagram for Sacado::Rad::ADvar< Double >:
Inheritance graph
[legend]

Classes

struct  apply
 Turn ADvar into a meta-function class usable with mpl::apply. More...
 

Public Types

typedef IndepADvar< Double > IndepADVar
 
typedef IndepADVar::ADVari ADVari
 
typedef ConstADvari< Double > ConstADVari
 
typedef ADvar1< Double > ADVar1
 
- Public Types inherited from Sacado::Rad::IndepADvar< Double >
typedef Double value_type
 
typedef ADvari< Double > ADVari
 
typedef ADvar< Double > ADVar
 
- Public Types inherited from Sacado::Base< IndepADvar< Double > >
typedef IndepADvar< Double > derived_type
 

Public Member Functions

 ADvar ()
 
 ADvar (Ttype d)
 
 ADvar (double i)
 
 ADvar (int i)
 
 ADvar (long i)
 
 ~ADvar ()
 
 Allow_noderiv (inline ADvar(void *v, int wd):IndepADVar(v, wd){}) friend ADvar &ADvar_operatoreq<>(ADvar *
 
const ADVariADvar (const IndepADVar &x)
 
 ADvar (const ADvar &x)
 
 ADvar (const ADVari &x)
 
ADvaroperator= (const ADVari &x)
 
ADvaroperator= (Double)
 
ADvaroperator+= (const ADVari &)
 
ADvaroperator+= (Double)
 
ADvaroperator-= (const ADVari &)
 
ADvaroperator-= (Double)
 
ADvaroperator*= (const ADVari &)
 
ADvaroperator*= (Double)
 
ADvaroperator/= (const ADVari &)
 
ADvaroperator/= (Double)
 
- Public Member Functions inherited from Sacado::Rad::IndepADvar< Double >
int Wantderiv (int)
 
 IndepADvar (Ttype)
 
 IndepADvar (double)
 
 IndepADvar (int)
 
 IndepADvar (long)
 
IndepADvaroperator= (Double)
 
int Wantderiv ()
 
 IndepADvar () Allow_noderiv(
 
 ~IndepADvar ()
 
 operator ADVari & () const
 
 operator ADVari * () const
 
Double val () const
 
Double adj () const
 
- Public Member Functions inherited from Sacado::Base< IndepADvar< Double > >
const derived_typederived () const
 

Static Public Member Functions

static bool get_fpval_implies_const (void)
 
static void set_fpval_implies_const (bool newval)
 
static bool setget_fpval_implies_const (bool newval)
 
static void Gradcomp (int wantgrad)
 
static void Gradcomp ()
 
static void aval_reset ()
 
static void Weighted_Gradcomp (size_t n, ADvar **v, Double *w)
 
static void Outvar_Gradcomp (ADvar &v)
 
- Static Public Member Functions inherited from Sacado::Rad::IndepADvar< Double >
static void Gradcomp (int wantgrad)
 
static void Gradcomp ()
 
static void aval_reset ()
 
static void Weighted_Gradcomp (size_t n, ADVar **v, Double *w)
 
static void Outvar_Gradcomp (ADVar &v)
 

Private Member Functions

void ADvar_ctr (Double d)
 

Friends

class ADvar1< Double >
 

Additional Inherited Members

- Protected Types inherited from Sacado::Base< IndepADvar< Double > >
typedef IndepADvar< Double > derived_type
 
- Protected Member Functions inherited from Sacado::Rad::IndepADvar_base< Double >
 IndepADvar_base (Allow_noderiv(int wd))
 
 ~IndepADvar_base ()
 
- Protected Member Functions inherited from Sacado::Rad::IndepADvar_base0< Double >
 IndepADvar_base0 ()
 
- Protected Member Functions inherited from Sacado::Base< IndepADvar< Double > >
const derived_typederived () const
 
- Static Protected Member Functions inherited from Sacado::Rad::IndepADvar< Double >
static void AD_Const (const IndepADvar &)
 
- Protected Attributes inherited from Sacado::Rad::IndepADvar< Double >
ADvari< Double > * cv
 

Detailed Description

template<typename Double>
class Sacado::Rad::ADvar< Double >

Definition at line 193 of file Sacado_trad.hpp.

Member Typedef Documentation

template<typename Double>
typedef IndepADvar<Double> Sacado::Rad::ADvar< Double >::IndepADVar

Definition at line 836 of file Sacado_trad.hpp.

template<typename Double>
typedef IndepADVar::ADVari Sacado::Rad::ADvar< Double >::ADVari

Definition at line 837 of file Sacado_trad.hpp.

template<typename Double>
typedef ConstADvari<Double> Sacado::Rad::ADvar< Double >::ConstADVari

Definition at line 838 of file Sacado_trad.hpp.

template<typename Double>
typedef ADvar1<Double> Sacado::Rad::ADvar< Double >::ADVar1

Definition at line 863 of file Sacado_trad.hpp.

Constructor & Destructor Documentation

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( )
inline

Definition at line 864 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( Ttype  d)
inline

Definition at line 865 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( double  i)
inline

Definition at line 866 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( int  i)
inline

Definition at line 867 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( long  i)
inline

Definition at line 868 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::~ADvar ( )
inline

Definition at line 869 of file Sacado_trad.hpp.

template<typename Double>
const ADVari& Sacado::Rad::ADvar< Double >::ADvar ( const IndepADVar x)
inline

RAD_EQ_ALIAS

Definition at line 904 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( const ADvar< Double > &  x)
inline

Definition at line 914 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::ADvar ( const ADVari x)
inline

Definition at line 924 of file Sacado_trad.hpp.

Member Function Documentation

template<typename Double>
void Sacado::Rad::ADvar< Double >::ADvar_ctr ( Double  d)
inlineprivate

Definition at line 840 of file Sacado_trad.hpp.

template<typename Double>
Sacado::Rad::ADvar< Double >::Allow_noderiv ( inline ADvar< Double >(void *v, int wd):IndepADVar(v, wd){}  )

RAD_AUTO_AD_Const

template<typename Double>
ADvar& Sacado::Rad::ADvar< Double >::operator= ( const ADVari x)
inline

Definition at line 929 of file Sacado_trad.hpp.

template<typename Double>
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator= ( Double  d)

Definition at line 2072 of file Sacado_trad.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator+= ( const ADVari R)

Definition at line 2111 of file Sacado_trad.hpp.

template<typename Double>
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator+= ( Double  R)

Definition at line 2129 of file Sacado_trad.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator-= ( const ADVari R)

Definition at line 2155 of file Sacado_trad.hpp.

template<typename Double>
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator-= ( Double  R)

Definition at line 2173 of file Sacado_trad.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator*= ( const ADVari R)

Definition at line 2199 of file Sacado_trad.hpp.

template<typename Double>
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator*= ( Double  R)

Definition at line 2217 of file Sacado_trad.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator/= ( const ADVari R)

Definition at line 2244 of file Sacado_trad.hpp.

template<typename Double>
ADvar< Double > & Sacado::Rad::ADvar< Double >::operator/= ( Double  R)

Definition at line 2272 of file Sacado_trad.hpp.

template<typename Double>
static bool Sacado::Rad::ADvar< Double >::get_fpval_implies_const ( void  )
inlinestatic

Definition at line 942 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::set_fpval_implies_const ( bool  newval)
inlinestatic

Definition at line 944 of file Sacado_trad.hpp.

template<typename Double>
static bool Sacado::Rad::ADvar< Double >::setget_fpval_implies_const ( bool  newval)
inlinestatic

Definition at line 946 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Gradcomp ( int  wantgrad)
inlinestatic

Definition at line 956 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Gradcomp ( )
inlinestatic

Definition at line 958 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::aval_reset ( void  )
inlinestatic

Definition at line 960 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Weighted_Gradcomp ( size_t  n,
ADvar< Double > **  v,
Double *  w 
)
inlinestatic

Definition at line 961 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Outvar_Gradcomp ( ADvar< Double > &  v)
inlinestatic

Definition at line 963 of file Sacado_trad.hpp.

Friends And Related Function Documentation

template<typename Double>
friend class ADvar1< Double >
friend

Definition at line 862 of file Sacado_trad.hpp.


The documentation for this class was generated from the following file: