Sacado Package Browser (Single Doxygen Collection) Version of the Day
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Friends
Sacado::Rad::ADvar< Double > Class Template Reference

#include <Sacado_trad.hpp>

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

List of all members.

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 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)

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)

Private Member Functions

void ADvar_ctr (Double d)

Friends

class ADvar1< Double >

Detailed Description

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

Definition at line 828 of file Sacado_trad.hpp.


Member Typedef Documentation

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 834 of file Sacado_trad.hpp.

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

Reimplemented from Sacado::Rad::IndepADvar< Double >.

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 835 of file Sacado_trad.hpp.

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 836 of file Sacado_trad.hpp.

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 861 of file Sacado_trad.hpp.


Constructor & Destructor Documentation

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

Definition at line 862 of file Sacado_trad.hpp.

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

Definition at line 863 of file Sacado_trad.hpp.

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

Definition at line 864 of file Sacado_trad.hpp.

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

Definition at line 865 of file Sacado_trad.hpp.

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

Definition at line 866 of file Sacado_trad.hpp.

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

Definition at line 867 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 902 of file Sacado_trad.hpp.

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

Definition at line 912 of file Sacado_trad.hpp.

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

Definition at line 922 of file Sacado_trad.hpp.


Member Function Documentation

template<typename Double>
void Sacado::Rad::ADvar< Double >::ADvar_ctr ( Double  d) [inline, private]

Definition at line 838 of file Sacado_trad.hpp.

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

RAD_AUTO_AD_Const

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

Definition at line 927 of file Sacado_trad.hpp.

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

Reimplemented from Sacado::Rad::IndepADvar< Double >.

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 1991 of file Sacado_trad.hpp.

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

Definition at line 2027 of file Sacado_trad.hpp.

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 2044 of file Sacado_trad.hpp.

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

Definition at line 2067 of file Sacado_trad.hpp.

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 2084 of file Sacado_trad.hpp.

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

Definition at line 2107 of file Sacado_trad.hpp.

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 2124 of file Sacado_trad.hpp.

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

Definition at line 2148 of file Sacado_trad.hpp.

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

Reimplemented in Sacado::Rad::ConstADvar< Double >.

Definition at line 2174 of file Sacado_trad.hpp.

template<typename Double>
static bool Sacado::Rad::ADvar< Double >::get_fpval_implies_const ( void  ) [inline, static]

Definition at line 940 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::set_fpval_implies_const ( bool  newval) [inline, static]

Definition at line 942 of file Sacado_trad.hpp.

template<typename Double>
static bool Sacado::Rad::ADvar< Double >::setget_fpval_implies_const ( bool  newval) [inline, static]

Definition at line 944 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Gradcomp ( int  wantgrad) [inline, static]

Reimplemented from Sacado::Rad::IndepADvar< Double >.

Definition at line 954 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Gradcomp ( ) [inline, static]

Reimplemented from Sacado::Rad::IndepADvar< Double >.

Definition at line 956 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::aval_reset ( void  ) [inline, static]

Reimplemented from Sacado::Rad::IndepADvar< Double >.

Definition at line 958 of file Sacado_trad.hpp.

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

Definition at line 959 of file Sacado_trad.hpp.

template<typename Double>
static void Sacado::Rad::ADvar< Double >::Outvar_Gradcomp ( ADvar< Double > &  v) [inline, static]

Definition at line 961 of file Sacado_trad.hpp.


Friends And Related Function Documentation

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

Reimplemented from Sacado::Rad::IndepADvar< Double >.

Definition at line 860 of file Sacado_trad.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines