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::Rad2::ADvar< Double > Class Template Reference

#include <Sacado_trad2.hpp>

Inheritance diagram for Sacado::Rad2::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 ADvari< Double > ADVari
 
typedef ConstADvari< Double > ConstADVari
 
typedef ADvar1< Double > ADVar1
 
- Public Types inherited from Sacado::Rad2::IndepADvar< Double >
typedef Double value_type
 
typedef ADvari< Double > ADVari
 
typedef ADvar< Double > ADVar
 

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)
 
- Public Member Functions inherited from Sacado::Rad2::IndepADvar< Double >
 IndepADvar (Ttype)
 
 IndepADvar (double)
 
 IndepADvar (int)
 
 IndepADvar (long)
 
IndepADvaroperator= (Double)
 
 IndepADvar ()
 
 ~IndepADvar ()
 
 operator ADVari & () const
 
 operator ADVari * () const
 
Double val () const
 
Double adj () 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 (int n, ADvar **v, Double *w)
 
- Static Public Member Functions inherited from Sacado::Rad2::IndepADvar< Double >
static void Gradcomp (int wantgrad)
 
static void Gradcomp ()
 
static void Hvprod (int n, ADVar **vp, Double *v, Double *hv)
 
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 &)
 

Additional Inherited Members

- Static Protected Member Functions inherited from Sacado::Rad2::IndepADvar< Double >
static void AD_Const (const IndepADvar &)
 
- Protected Attributes inherited from Sacado::Rad2::IndepADvar< Double >
ADvari< Double > * cv
 

Detailed Description

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

Definition at line 127 of file Sacado_trad2.hpp.

Member Typedef Documentation

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

Definition at line 719 of file Sacado_trad2.hpp.

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

Definition at line 720 of file Sacado_trad2.hpp.

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

Definition at line 721 of file Sacado_trad2.hpp.

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

Definition at line 739 of file Sacado_trad2.hpp.

Constructor & Destructor Documentation

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

Definition at line 740 of file Sacado_trad2.hpp.

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

Definition at line 741 of file Sacado_trad2.hpp.

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

Definition at line 742 of file Sacado_trad2.hpp.

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

Definition at line 743 of file Sacado_trad2.hpp.

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

Definition at line 744 of file Sacado_trad2.hpp.

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

Definition at line 745 of file Sacado_trad2.hpp.

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

Definition at line 773 of file Sacado_trad2.hpp.

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

Definition at line 774 of file Sacado_trad2.hpp.

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

Definition at line 776 of file Sacado_trad2.hpp.

Member Function Documentation

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

Definition at line 723 of file Sacado_trad2.hpp.

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

Definition at line 777 of file Sacado_trad2.hpp.

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

Definition at line 778 of file Sacado_trad2.hpp.

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

Definition at line 1544 of file Sacado_trad2.hpp.

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

Definition at line 1579 of file Sacado_trad2.hpp.

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

Definition at line 1594 of file Sacado_trad2.hpp.

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

Definition at line 1614 of file Sacado_trad2.hpp.

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

Definition at line 1629 of file Sacado_trad2.hpp.

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

Definition at line 1649 of file Sacado_trad2.hpp.

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

Definition at line 1664 of file Sacado_trad2.hpp.

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

Definition at line 1685 of file Sacado_trad2.hpp.

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

Definition at line 1709 of file Sacado_trad2.hpp.

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

Definition at line 790 of file Sacado_trad2.hpp.

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

Definition at line 792 of file Sacado_trad2.hpp.

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

Definition at line 794 of file Sacado_trad2.hpp.

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

Definition at line 799 of file Sacado_trad2.hpp.

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

Definition at line 801 of file Sacado_trad2.hpp.

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

Definition at line 803 of file Sacado_trad2.hpp.

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

Definition at line 804 of file Sacado_trad2.hpp.

Friends And Related Function Documentation

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

Definition at line 738 of file Sacado_trad2.hpp.

template<typename Double>
ADvar& ADvar_operatoreq ( ADvar< Double > *  This,
const ADVari x 
)
friend

RAD_AUTO_AD_Const

template<typename Double>
ADvar& ADvar_operatoreq ( ADvar< Double > *  This,
const ADVari x 
)
friend

RAD_EQ_ALIAS

RAD_AUTO_AD_Const


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