cpp_fun_new_dynamic#

View page source

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.