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::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 733 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 739 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 740 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 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) [inline, private]

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)

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

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

Definition at line 1563 of file Sacado_trad2.hpp.

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

Definition at line 1598 of file Sacado_trad2.hpp.

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

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

Definition at line 1613 of file Sacado_trad2.hpp.

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

Definition at line 1633 of file Sacado_trad2.hpp.

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

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

Definition at line 1648 of file Sacado_trad2.hpp.

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

Definition at line 1668 of file Sacado_trad2.hpp.

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

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

Definition at line 1683 of file Sacado_trad2.hpp.

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

Definition at line 1704 of file Sacado_trad2.hpp.

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

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

Definition at line 1728 of file Sacado_trad2.hpp.

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

Definition at line 810 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 812 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 814 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 819 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 821 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 823 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 824 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 758 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