Prev | Next |
f.new_dynamic(dynamic)
new_dynamic
method is used to change the value
of the dynamic parameters in
f
.
f
has prototype
ADFun<Base> f
Note that the ADFun
object
f
is not const
.
const BaseVector& dynamic
(see
BaseVector
below).
It specifies a new value for the independent
dynamic
parameters.
It size must be the same as the size of the independent
dynamic
parameter vector
in the call to Independent
that started
the recording for
f
; see
size_dyn_ind
.
BaseVector
must be a SimpleVector
class with
elements of type
Base
.
f.new_dynamic
is called.