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 .
Setting and Getting a Function's Name

Syntax
f.function_name_set(function_name)
function_name = f.function_name_get()

See Also
fun_property

f
In the set operation, f has prototype
    ADFun<
Basef
In the get operation, f has prototype
    const ADFun<
Basef
(see ADFun<Base> constructor ).

function_name
is the name of the function. In the set operation, function_name has prototype
    const std::string& 
function_name
In the get operation, function_name has prototype
    std::string 
function_name

Example
The file function_name.cpp contains an example and test of these operations.
Input File: include/cppad/core/function_name.omh