CppAD: A C++ Algorithmic Differentiation Package
20130918
|
Class used to hold a reference to an element of a VecAD object. More...
Public Member Functions | |
AD< Base > | ADBase (void) const |
Conversion from VecAD_reference to AD<Base>. puts the correspond vecad load instruction in the tape. | |
void | operator= (const VecAD_reference< Base > &right) |
Taped setting of element to a value. | |
void | operator= (const AD< Base > &right) |
Taped setting of element to a value. | |
void | operator= (const Base &right) |
Taped setting of element to a value. | |
void | operator= (int right) |
Taped setting of element to a value. | |
VecAD_reference (VecAD< Base > *vec, const AD< Base > &ind) | |
consructor | |
Private Attributes | |
AD< Base > | ind_ |
index in vecad vector that this element corresponds to | |
VecAD< Base > * | vec_ |
pointer to vecad vector that this is a element of | |
Friends | |
class | ADTape< Base > |
bool | Parameter (const VecAD< Base > &vec) |
bool | Variable (const VecAD< Base > &vec) |
class | VecAD< Base > |
Class used to hold a reference to an element of a VecAD object.
Base | Elements of this class act like an AD<Base> (in a restricted sense), in addition they track (on the tape) the index they correspond to. |
Definition at line 359 of file vec_ad.hpp.