Prev | Next | FunDeprecated |
f.Dependent(y)
o = f.Order()
m = f.Memory()
s = f.Size()
t = f.taylor_size()
u = f.use_VecAD()
v = f.size_taylor()
w = f.capacity_taylor()
ADFun<Base>
functions documented here have been deprecated;
i.e., they are no longer approved of and may be removed from some future
version of CppAD.
Base
operation sequence
is started by a call of the form
Independent(x)
If there is only one such recording at the current time,
you can use
f.Dependent(y)
in place of
f.Dependent(x, y)
See Dependent
for a description of this operation.
AD<Base>
recording to be
active at one time.
This was necessary to allow for multiple threading applications.
o
has prototype
size_t o
and is the order of the previous forward operation
using the function
f
.
This is the highest order of the
Taylor coefficients
that are currently stored in
f
.
f
.
In the future, we would like to be able to erase the function
values so that
f
uses less memory.
In this case, the return value of Order
would not make sense.
Use size_order
to obtain
the number of Taylor coefficients currently stored
in the ADFun object
f
(which is equal to the order plus one).
size_t m
and is the number of memory units (sizeof
) required for the
information currently stored in
f
.
This memory is returned to the system when the destructor for
f
is called.
Memory
function is no longer well defined.
s
has prototype
size_t s
and is the number of variables in the operation sequence plus the following:
one for a phantom variable with tape address zero,
one for each component of the domain that is a parameter.
The amount of work and memory necessary for computing function values
and derivatives using
f
is roughly proportional to
s
.
t
has prototype
size_t t
and is the number of Taylor coefficient orders
currently calculated and stored in the ADFun object
f
.
u
has prototype
bool u
If it is true, the
AD of
Base
operation sequence
stored in
f
contains
VecAD
operands.
Otherwise
u
is false.
u = f.size_VecAD() > 0
v
has prototype
size_t v
and is the number of Taylor coefficient orders
currently calculated and stored in the ADFun object
f
.
w
has prototype
size_t w
and is the number of Taylor coefficient orders currently allocated
in the ADFun object
f
.