Prev Next printOp

Print the Information Corresponding to One Tape Operation

Syntax
void printOp(
     std::ostream &
os ,
     const player<
Base> *Rec ,
     size_t 
i_var ,
     OpCode 
op ,
     const size_t *
ind ,
     size_t 
nfz ,
     const 
Value *fz ,
     size_t 
nrz ,
     const 
Value *rz )

Base
Determines the type of tape we are printing from.

Value
Determines the type of the values that we are printing (expected to be either Base or Pack where Pack is the type used to pace sparsity patterns).

os
is the output stream that the information is printed on.

Rec
Is the entire recording for the tape that this operator is in.

i_var
is the variable index for the result of this operation (ignored if NumVar(op) == 0).

op
The operator code for this operation.

ind
is the vector of indices for this operation (must have NumInd(op) elements).

nfz
is the number of forward calculated values of type Value that correspond to this operation (ignored if NumVar(op) == 0).

fz
points to the first forward calculated value that correspond to this operation (ignored if NumVar(op) == 0).

nrz
is the number of reverse calculated values of type Value that correspond to this operation (ignored if NumVar(op) == 0).

rz
points to the first reverse calculated value that correspond to this operation (ignored if NumVar(op) == 0).
Input File: cppad/local/op_code.hpp