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

Contiguous vector of taped active values with active indexing. More...

#include <advector.h>

Public Member Functions

 advector ()=default
 
 advector (size_t n)
 
 advector (const advector &ad_vec)
 
 advector (const std::vector< adouble > &v)
 
 ~advector ()
 
 operator adouble * ()
 
adouble operator[] (const adouble &index) const
 
adubref operator[] (const adouble &index)
 
adouble & operator[] (size_t i)
 
const adouble & operator[] (size_t i) const
 
adouble lookupindex (const adouble &a, const adouble &b) const
 
size_t size () const
 
bool nondecreasing () const
 

Detailed Description

Contiguous vector of taped active values with active indexing.

Passive indices return ordinary references; active indices record lookup or indirect-assignment operations and use adubref for writable elements.

Constructor & Destructor Documentation

◆ advector() [1/4]

advector::advector ( )
default

◆ advector() [2/4]

advector::advector ( size_t  n)
inlineexplicit

◆ advector() [3/4]

advector::advector ( const advector &  ad_vec)
inline

◆ advector() [4/4]

advector::advector ( const std::vector< adouble > &  v)
inline

◆ ~advector()

advector::~advector ( )
inline

Member Function Documentation

◆ lookupindex()

adouble advector::lookupindex ( const adouble &  a,
const adouble &  b 
) const

◆ nondecreasing()

bool advector::nondecreasing ( ) const

◆ operator adouble *()

advector::operator adouble * ( )
inline

◆ operator[]() [1/4]

adubref advector::operator[] ( const adouble &  index)

◆ operator[]() [2/4]

adouble advector::operator[] ( const adouble &  index) const

◆ operator[]() [3/4]

adouble & advector::operator[] ( size_t  i)
inline

◆ operator[]() [4/4]

const adouble & advector::operator[] ( size_t  i) const
inline

◆ size()

size_t advector::size ( ) const
inline

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