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 147 of file Sacado_trad2.hpp.

Member Typedef Documentation

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

Definition at line 739 of file Sacado_trad2.hpp.

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

Definition at line 740 of file Sacado_trad2.hpp.

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

Definition at line 741 of file Sacado_trad2.hpp.

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

Definition at line 759 of file Sacado_trad2.hpp.

Constructor & Destructor Documentation

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

Definition at line 760 of file Sacado_trad2.hpp.

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

Definition at line 761 of file Sacado_trad2.hpp.

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

Definition at line 762 of file Sacado_trad2.hpp.

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

Definition at line 763 of file Sacado_trad2.hpp.

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

Definition at line 764 of file Sacado_trad2.hpp.

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

Definition at line 765 of file Sacado_trad2.hpp.

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

Definition at line 793 of file Sacado_trad2.hpp.

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

Definition at line 794 of file Sacado_trad2.hpp.

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

Definition at line 796 of file Sacado_trad2.hpp.

Member Function Documentation

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

Definition at line 743 of file Sacado_trad2.hpp.

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

Definition at line 797 of file Sacado_trad2.hpp.

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

Definition at line 798 of file Sacado_trad2.hpp.

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

Definition at line 1564 of file Sacado_trad2.hpp.

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

Definition at line 1599 of file Sacado_trad2.hpp.

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

Definition at line 1614 of file Sacado_trad2.hpp.

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

Definition at line 1634 of file Sacado_trad2.hpp.

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

Definition at line 1649 of file Sacado_trad2.hpp.

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

Definition at line 1669 of file Sacado_trad2.hpp.

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

Definition at line 1684 of file Sacado_trad2.hpp.

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

Definition at line 1705 of file Sacado_trad2.hpp.

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

Definition at line 1729 of file Sacado_trad2.hpp.

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

Definition at line 810 of file Sacado_trad2.hpp.

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

Definition at line 812 of file Sacado_trad2.hpp.

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

Definition at line 814 of file Sacado_trad2.hpp.

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

Definition at line 819 of file Sacado_trad2.hpp.

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

Definition at line 821 of file Sacado_trad2.hpp.

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

Definition at line 823 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 824 of file Sacado_trad2.hpp.

Friends And Related Function Documentation

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

Definition at line 758 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: