|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
Class used to hold tape that records AD<Base> operations. More...
Public Member Functions | |
| template<typename VectorADBase > | |
| void | Independent (VectorADBase &u) |
| template<typename VectorAD > | |
| void | Independent (VectorAD &x) |
Private Member Functions | |
| size_t | RecordParOp (const Base &x) |
| Place a parameter in the tape. | |
| void | RecordCondExp (enum CompareOp cop, AD< Base > &returnValue, const AD< Base > &left, const AD< Base > &right, const AD< Base > &trueCase, const AD< Base > &falseCase) |
All these operations are done in Rec_, so we should move this routine to recorder<Base>. | |
| void | RecordCompare (enum CompareOp cop, bool result, const AD< Base > &left, const AD< Base > &right) |
All these operations are done in Rec_, so we should move this routine to recorder<Base>. | |
| size_t | AddVec (size_t length, const pod_vector< Base > &data) |
| Put initialization for a VecAD<Base> object in the tape. | |
Private Attributes | |
| tape_id_t | id_ |
| Unique identifier for this tape. | |
| size_t | size_independent_ |
| Number of independent variables in this tapes reconding. Set by Independent and effectively const. | |
| recorder< Base > | Rec_ |
| This is where the information is recorded. | |
Friends | |
| class | AD< Base > |
| class | ADFun< Base > |
| class | discrete< Base > |
| class | user_atomic< Base > |
| class | VecAD< Base > |
| class | VecAD_reference< Base > |
| void | PrintFor (const AD< Base > &flag, const char *before, const AD< Base > &var, const char *after) |
| 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) |
| AD< Base > | operator+ (const AD< Base > &left, const AD< Base > &right) |
| AD< Base > | operator- (const AD< Base > &left, const AD< Base > &right) |
| AD< Base > | operator* (const AD< Base > &left, const AD< Base > &right) |
| AD< Base > | operator/ (const AD< Base > &left, const AD< Base > &right) |
| bool | operator (const AD< Base > &left, const AD< Base > &right) |
| bool | operator (const AD< Base > &left, const AD< Base > &right) |
| bool | operator> (const AD< Base > &left, const AD< Base > &right) |
| bool | operator>= (const AD< Base > &left, const AD< Base > &right) |
| bool | operator== (const AD< Base > &left, const AD< Base > &right) |
| bool | operator!= (const AD< Base > &left, const AD< Base > &right) |
Class used to hold tape that records AD<Base> operations.
| Base | An AD<Base> object is used to recording AD<Base> operations. |
Definition at line 27 of file ad_tape.hpp.