Prev Next cpp_fun_new_dynamic

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
Change The Dynamic Parameters

Syntax
f.new_dynamic(dynamic)

f
This is either a d_fun or a_fun function object.

dynamic
If f is a d_fun or a_fun, this argument has prototype
     const vec_double&   
dynamic
     const vec_a_double& 
dynamic
and its size must be the same as the size of dynamic in the corresponding call to independent. It specifies new values for the dynamic parameters in f .

size_order
After this call f.size_order() is zero.

Example
See fun_dynamic_xam.cpp .
Input File: lib/cplusplus/fun.cpp