CppAD: A C++ Algorithmic Differentiation Package
20171217
|
void CppAD::local::printOpField | ( | std::ostream & | os, |
const char * | leader, | ||
const Type & | value, | ||
size_t | width | ||
) |
Prints a single field corresponding to an operator.
A specified leader is printed in front of the value and then the value is left justified in the following width character.
Type | is the type of the value we are printing. |
os | is the stream that we are printing to. |
leader | are characters printed before the value. |
value | is the value being printed. |
width | is the number of character to print the value in. If the value does not fit in the width, the value is replace by width '*' characters. |
Definition at line 479 of file op_code.hpp.
Referenced by printOp().