Sacado::Rad2::ADvar< Double > Class Template Reference

#include <Sacado_trad2.hpp>

Inheritance diagram for Sacado::Rad2::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 ADvari< Double > 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 ()
 ADvar (const IndepADVar &x)
 ADvar (const ADvar &x)
 ADvar (const ADVari &x)
ADvaroperator= (IndepADVar &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 (int n, ADvar **v, Double *w)

Private Member Functions

void ADvar_ctr (Double d)

Friends

class ADvar1< Double >
ADvarADvar_operatoreq (ADvar *, const ADVari &)
ADvarADvar_operatoreq (ADvar *, const ADVari &)

Detailed Description

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

Definition at line 729 of file Sacado_trad2.hpp.


Member Typedef Documentation

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

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

Definition at line 735 of file Sacado_trad2.hpp.

template<typename Double>
typedef ADvari<Double> Sacado::Rad2::ADvar< Double >::ADVari

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

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

Definition at line 736 of file Sacado_trad2.hpp.

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

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

Definition at line 737 of file Sacado_trad2.hpp.

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

Definition at line 755 of file Sacado_trad2.hpp.


Constructor & Destructor Documentation

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

Definition at line 756 of file Sacado_trad2.hpp.

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

Definition at line 757 of file Sacado_trad2.hpp.

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

Definition at line 758 of file Sacado_trad2.hpp.

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

Definition at line 759 of file Sacado_trad2.hpp.

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

Definition at line 760 of file Sacado_trad2.hpp.

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

Definition at line 761 of file Sacado_trad2.hpp.

template<typename Double>
Sacado::Rad2::ADvar< Double >::ADvar ( const IndepADVar x  )  [inline]

Definition at line 789 of file Sacado_trad2.hpp.

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

Definition at line 790 of file Sacado_trad2.hpp.

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

Definition at line 792 of file Sacado_trad2.hpp.


Member Function Documentation

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

Definition at line 739 of file Sacado_trad2.hpp.

template<typename Double>
ADvar& Sacado::Rad2::ADvar< Double >::operator= ( IndepADVar x  )  [inline]

Definition at line 793 of file Sacado_trad2.hpp.

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

Definition at line 794 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator= ( Double  d  )  [inline]

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

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

Definition at line 1559 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator+= ( const ADVari R  )  [inline]

Definition at line 1594 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator+= ( Double  R  )  [inline]

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

Definition at line 1609 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator-= ( const ADVari R  )  [inline]

Definition at line 1629 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator-= ( Double  R  )  [inline]

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

Definition at line 1644 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator*= ( const ADVari R  )  [inline]

Definition at line 1664 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator*= ( Double  R  )  [inline]

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

Definition at line 1679 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator/= ( const ADVari R  )  [inline]

Definition at line 1700 of file Sacado_trad2.hpp.

template<typename Double >
ADvar< Double > & Sacado::Rad2::ADvar< Double >::operator/= ( Double  R  )  [inline]

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

Definition at line 1724 of file Sacado_trad2.hpp.

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

Definition at line 806 of file Sacado_trad2.hpp.

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

Definition at line 808 of file Sacado_trad2.hpp.

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

Definition at line 810 of file Sacado_trad2.hpp.

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

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

Definition at line 815 of file Sacado_trad2.hpp.

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

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

Definition at line 817 of file Sacado_trad2.hpp.

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

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

Definition at line 819 of file Sacado_trad2.hpp.

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

Definition at line 820 of file Sacado_trad2.hpp.


Friends And Related Function Documentation

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

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

Definition at line 754 of file Sacado_trad2.hpp.

template<typename Double>
ADvar& ADvar_operatoreq ( ADvar< Double > *  ,
const ADVari  
) [friend]

RAD_AUTO_AD_Const

template<typename Double>
ADvar& ADvar_operatoreq ( ADvar< Double > *  ,
const ADVari  
) [friend]

RAD_EQ_ALIAS


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:19:45 2011 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.6.3