CppAD: A C++ Algorithmic Differentiation Package  20130102
const size_t NumResTable[]

Number of variables resulting from the corresponding operation.

The i-th element in this table specifes the number of varibles for each occurance of the operator that is the i-th value in the OpCode enum type. For example, for the first three OpCode enum values we have

OpCode   j   NumResTable[j]  Meaning
AbsOp    0                1  variable that is the result of the absolute value
AcosOp   1                2  acos(x) and sqrt(1-x*x) are required for this op
AddpvOp  1                1  variable that is the result of the addition

Definition at line 216 of file op_code.hpp.

Referenced by NumRes().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines