![]() |
Prev | Next | cpp_fun_ctor |
f = cppad_py::d_fun(ax, ay)
af = cppad_py::a_fun(f)
const vec_a_double& ax
and must be the same as
ax
returned by the previous call to independent
; i.e.,
it must be the independent variable vector.
We use the notation
n = ax.size()
to denote the number of independent variables.
const vec_a_double& ax
It specifies the dependent variables.
We use the notation
m = ay.size()
to denote the number of dependent variables.
cppad_py::d_fun f
It has a representation for the floating point operations
that mapped the independent variables to the dependent variables.
This object computes function and derivative values using double
.
cppad_py::a_fun af
It has a representation of the same function as
f
.
This object computes function and derivative values using a_double
.
Initially, there are not Taylor coefficient stored in
af
; i.e.,
af.size_order()
is zero.