ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
adubref Class Reference

Proxy for an active vector element selected by an active index. More...

#include <advector.h>

Public Member Functions

 adubref (size_t lo, size_t ref)
 
 adubref (void)=delete
 
 adubref (double)=delete
 
 adubref (const adubref &)=delete
 
 adubref (adubref &&)=delete
 
 adubref (const adouble &)=delete
 
 adubref (adouble &&)=delete
 
 ~adubref ()
 
adubref & operator= (const double coval)
 
adubref & operator= (const adouble &a)
 
adubref & operator= (const pdouble &p)
 
size_t loc () const
 
size_t refloc () const
 
double refloc_value () const
 
double loc_value () const
 
void refloc_value (const double coval)
 
 operator adouble () const
 
adouble operator++ (int)
 
adouble operator-- (int)
 
adubref & operator++ ()
 
adubref & operator-- ()
 
adubref & operator+= (const double coval)
 
adubref & operator+= (const adouble &a)
 
adubref & operator+= (const pdouble &p)
 
adubref & operator-= (const double coval)
 
adubref & operator-= (const adouble &a)
 
adubref & operator-= (const pdouble &p)
 
adubref & operator*= (const double coval)
 
adubref & operator*= (const adouble &a)
 
adubref & operator*= (const pdouble &p)
 
adubref & operator/= (const double coval)
 
adubref & operator/= (const adouble &a)
 
adubref & operator/= (const pdouble &p)
 
adubref & operator<<= (const double coval)
 
void declareIndependent ()
 
adubref & operator>>= (double &coval)
 
void declareDependent ()
 

Detailed Description

Proxy for an active vector element selected by an active index.

The proxy records indirect reads and writes and converts to an adouble when used as an rvalue.

Constructor & Destructor Documentation

◆ adubref() [1/7]

adubref::adubref ( size_t  lo,
size_t  ref 
)
explicit

◆ adubref() [2/7]

adubref::adubref ( void  )
delete

◆ adubref() [3/7]

adubref::adubref ( double  )
delete

◆ adubref() [4/7]

adubref::adubref ( const adubref &  )
delete

◆ adubref() [5/7]

adubref::adubref ( adubref &&  )
delete

◆ adubref() [6/7]

adubref::adubref ( const adouble &  )
delete

◆ adubref() [7/7]

adubref::adubref ( adouble &&  )
delete

◆ ~adubref()

adubref::~adubref ( )

Member Function Documentation

◆ declareDependent()

void adubref::declareDependent ( )

◆ declareIndependent()

void adubref::declareIndependent ( )

◆ loc()

size_t adubref::loc ( ) const
inline

◆ loc_value()

double adubref::loc_value ( ) const
inline

◆ operator adouble()

adubref::operator adouble ( ) const

◆ operator*=() [1/3]

adubref & adubref::operator*= ( const adouble &  a)

◆ operator*=() [2/3]

adubref & adubref::operator*= ( const double  coval)

◆ operator*=() [3/3]

adubref & adubref::operator*= ( const pdouble &  p)
inline

◆ operator++() [1/2]

adubref & adubref::operator++ ( )

◆ operator++() [2/2]

adouble adubref::operator++ ( int  )

◆ operator+=() [1/3]

adubref & adubref::operator+= ( const adouble &  a)

◆ operator+=() [2/3]

adubref & adubref::operator+= ( const double  coval)

◆ operator+=() [3/3]

adubref & adubref::operator+= ( const pdouble &  p)
inline

◆ operator--() [1/2]

adubref & adubref::operator-- ( )

◆ operator--() [2/2]

adouble adubref::operator-- ( int  )

◆ operator-=() [1/3]

adubref & adubref::operator-= ( const adouble &  a)

◆ operator-=() [2/3]

adubref & adubref::operator-= ( const double  coval)

◆ operator-=() [3/3]

adubref & adubref::operator-= ( const pdouble &  p)
inline

◆ operator/=() [1/3]

adubref & adubref::operator/= ( const adouble &  a)
inline

◆ operator/=() [2/3]

adubref & adubref::operator/= ( const double  coval)
inline

◆ operator/=() [3/3]

adubref & adubref::operator/= ( const pdouble &  p)
inline

◆ operator<<=()

adubref & adubref::operator<<= ( const double  coval)

◆ operator=() [1/3]

adubref & adubref::operator= ( const adouble &  a)

◆ operator=() [2/3]

adubref & adubref::operator= ( const double  coval)

◆ operator=() [3/3]

adubref & adubref::operator= ( const pdouble &  p)
inline

◆ operator>>=()

adubref & adubref::operator>>= ( double &  coval)

◆ refloc()

size_t adubref::refloc ( ) const
inline

◆ refloc_value() [1/2]

double adubref::refloc_value ( ) const
inline

◆ refloc_value() [2/2]

void adubref::refloc_value ( const double  coval)
inline

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