\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
cpp_graph_print¶
View page sourcePrint A C++ AD Graph¶
Syntax¶
graph_obj .
graph_obj¶
is an const cpp_graph
object.
os¶
Is the std::ostream
where the graph is printed.
Discussion¶
This function is included to help with using the cpp_graph
class.
The formatting of it’s output is not part of the API; i.e.,
it may change in the future.
Example¶
The file print_graph.cpp contains an example and test of this operation.