#include <ad_tape.hpp>
Public Member Functions | |
ADTape (size_t id) | |
~ADTape (void) | |
template<typename VectorADBase > | |
void | Independent (VectorADBase &u) |
template<typename VectorAD > | |
void | Independent (VectorAD &x) |
Private Member Functions | |
void | RecordNonOp (void) |
size_t | RecordParOp (const Base &x) |
void | RecordInvOp (AD< Base > &z) |
void | RecordCondExp (enum CompareOp cop, AD< Base > &returnValue, const AD< Base > &left, const AD< Base > &right, const AD< Base > &trueCase, const AD< Base > &falseCase) |
void | RecordCompare (enum CompareOp cop, bool result, const AD< Base > &left, const AD< Base > &right) |
void | RecordLoadOp (OpCode op, AD< Base > &z, size_t offset, size_t x_taddr) |
void | RecordStoreOp (OpCode op, size_t offset, size_t x_taddr, size_t y_taddr) |
void | RecordOp (OpCode op, AD< Base > &z, size_t x_taddr, size_t y_taddr) |
void | RecordOp (OpCode op, size_t x_taddr, size_t y_taddr) |
void | RecordOp (OpCode op, AD< Base > &z, size_t x_taddr, const Base &y) |
void | RecordOp (OpCode op, size_t x_taddr, const Base &y) |
void | RecordOp (OpCode op, AD< Base > &z, const Base &x, size_t y_taddr) |
void | RecordOp (OpCode op, const Base &x, size_t y_taddr) |
void | RecordOp (OpCode op, const Base &x, const Base &y) |
void | RecordOp (OpCode op, AD< Base > &z, size_t x_taddr) |
void | RecordDisOp (AD< Base > &z, size_t x_taddr, size_t y_taddr) |
void | RecordPripOp (const char *text, const Base &x) |
void | RecordPrivOp (const char *text, size_t x_taddr) |
size_t | AddVec (size_t length, const Base *data) |
Private Attributes | |
size_t | id_ |
size_t | size_independent |
TapeRec< Base > | Rec |
Friends | |
class | AD< Base > |
class | ADFun< Base > |
class | ADDiscrete< Base > |
class | VecAD< Base > |
class | VecAD_reference< Base > |
void | PrintFor (const char *text, const AD< Base > &x) |
AD< Base > | CondExpOp (enum CompareOp cop, const AD< Base > &left, const AD< Base > &right, const AD< Base > &trueCase, const AD< Base > &falseCase) |
AD< Base > | pow (const AD< Base > &x, const AD< Base > &y) |
bool | Parameter (const AD< Base > &u) |
bool | Variable (const AD< Base > &u) |
Definition at line 433 of file ad_tape.hpp.
CppAD::ADTape< Base >::ADTape | ( | size_t | id | ) | [inline] |
Definition at line 472 of file ad_tape.hpp.
CppAD::ADTape< Base >::~ADTape | ( | void | ) | [inline] |
Definition at line 476 of file ad_tape.hpp.
void CppAD::ADTape< Base >::Independent | ( | VectorADBase & | u | ) | [inline] |
void CppAD::ADTape< Base >::RecordNonOp | ( | void | ) | [inline, private] |
Definition at line 603 of file ad_tape.hpp.
size_t CppAD::ADTape< Base >::RecordParOp | ( | const Base & | x | ) | [inline, private] |
Definition at line 615 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordInvOp | ( | AD< Base > & | z | ) | [inline, private] |
Definition at line 628 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordCondExp | ( | enum CompareOp | cop, | |
AD< Base > & | returnValue, | |||
const AD< Base > & | left, | |||
const AD< Base > & | right, | |||
const AD< Base > & | trueCase, | |||
const AD< Base > & | falseCase | |||
) | [inline, private] |
Definition at line 323 of file cond_exp.hpp.
void CppAD::ADTape< Base >::RecordCompare | ( | enum CompareOp | cop, | |
bool | result, | |||
const AD< Base > & | left, | |||
const AD< Base > & | right | |||
) | [inline, private] |
Definition at line 138 of file compare.hpp.
void CppAD::ADTape< Base >::RecordLoadOp | ( | OpCode | op, | |
AD< Base > & | z, | |||
size_t | offset, | |||
size_t | x_taddr | |||
) | [inline, private] |
Definition at line 646 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordStoreOp | ( | OpCode | op, | |
size_t | offset, | |||
size_t | x_taddr, | |||
size_t | y_taddr | |||
) | [inline, private] |
Definition at line 669 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
AD< Base > & | z, | |||
size_t | x_taddr, | |||
size_t | y_taddr | |||
) | [inline, private] |
Definition at line 696 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
size_t | x_taddr, | |||
size_t | y_taddr | |||
) | [inline, private] |
Definition at line 719 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
AD< Base > & | z, | |||
size_t | x_taddr, | |||
const Base & | y | |||
) | [inline, private] |
Definition at line 739 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
size_t | x_taddr, | |||
const Base & | y | |||
) | [inline, private] |
Definition at line 762 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
AD< Base > & | z, | |||
const Base & | x, | |||
size_t | y_taddr | |||
) | [inline, private] |
Definition at line 782 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
const Base & | x, | |||
size_t | y_taddr | |||
) | [inline, private] |
Definition at line 805 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
const Base & | x, | |||
const Base & | y | |||
) | [inline, private] |
Definition at line 825 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordOp | ( | OpCode | op, | |
AD< Base > & | z, | |||
size_t | x_taddr | |||
) | [inline, private] |
Definition at line 844 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordDisOp | ( | AD< Base > & | z, | |
size_t | x_taddr, | |||
size_t | y_taddr | |||
) | [inline, private] |
Definition at line 866 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordPripOp | ( | const char * | text, | |
const Base & | x | |||
) | [inline, private] |
Definition at line 887 of file ad_tape.hpp.
void CppAD::ADTape< Base >::RecordPrivOp | ( | const char * | text, | |
size_t | x_taddr | |||
) | [inline, private] |
Definition at line 900 of file ad_tape.hpp.
size_t CppAD::ADTape< Base >::AddVec | ( | size_t | length, | |
const Base * | data | |||
) | [inline, private] |
Definition at line 914 of file ad_tape.hpp.
void CppAD::ADTape< Base >::Independent | ( | VectorAD & | x | ) | [inline] |
Definition at line 129 of file independent.hpp.
friend class AD< Base > [friend] |
Definition at line 436 of file ad_tape.hpp.
friend class ADFun< Base > [friend] |
Definition at line 437 of file ad_tape.hpp.
friend class ADDiscrete< Base > [friend] |
Definition at line 438 of file ad_tape.hpp.
friend class VecAD< Base > [friend] |
Definition at line 439 of file ad_tape.hpp.
friend class VecAD_reference< Base > [friend] |
Definition at line 440 of file ad_tape.hpp.
void PrintFor | ( | const char * | text, | |
const AD< Base > & | x | |||
) | [friend] |
Definition at line 102 of file print_for.hpp.
AD<Base> CondExpOp | ( | enum CompareOp | cop, | |
const AD< Base > & | left, | |||
const AD< Base > & | right, | |||
const AD< Base > & | trueCase, | |||
const AD< Base > & | falseCase | |||
) | [friend] |
bool Parameter | ( | const AD< Base > & | u | ) | [friend] |
Definition at line 81 of file par_var.hpp.
Definition at line 94 of file par_var.hpp.
size_t CppAD::ADTape< Base >::id_ [private] |
Definition at line 485 of file ad_tape.hpp.
size_t CppAD::ADTape< Base >::size_independent [private] |
Definition at line 486 of file ad_tape.hpp.
TapeRec<Base> CppAD::ADTape< Base >::Rec [private] |
Definition at line 487 of file ad_tape.hpp.