CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Base , class Value >
void printOp ( std::ostream &  os,
const player< Base > *  Rec,
size_t  i_var,
OpCode  op,
const addr_t *  ind,
size_t  nfz,
const Value *  fz,
size_t  nrz,
const Value *  rz 
)

Prints a single operator, its operands, and the corresponding result values.

Template Parameters:
BaseIs the base type for these AD< Base > operations.
ValueDetermines the type of the values that we are printing.
Parameters:
osis the output stream that the information is printed on.
RecIs the entire recording for the tape that this operator is in.
i_varis the index for the variable corresponding to the result of this operation (ignored if NumRes(op) == 0).
opThe operator code (OpCode) for this operation.
indis the vector of argument indices for this operation (must have NumArg(op) elements).
nfzis the number of forward sweep calculated values of type Value that correspond to this operation (ignored if NumRes(op) == 0).
fzpoints to the first forward calculated value that correspond to this operation (ignored if NumRes(op) == 0).
nrzis the number of reverse sweep calculated values of type Value that correspond to this operation (ignored if NumRes(op) == 0).
rzpoints to the first reverse calculated value that correspond to this operation (ignored if NumRes(op) == 0).

Definition at line 399 of file op_code.hpp.

Referenced by ForJacSweep(), forward0sweep(), forward_sweep(), ReverseSweep(), RevHesSweep(), and RevJacSweep().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines