Prev Next

@(@\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}} }@)@This is cppad-20221105 documentation. Here is a link to its current documentation .
Print A C++ AD Graph

Syntax
graph_obj.print(os)

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.
Input File: include/cppad/core/graph/cpp_graph.hpp