![]() |
Prev | Next | FunDeprecated |
f.Dependent(
y)
o =
f.Order()
m =
f.Memory()
s =
f.Size()
t =
f.taylor_size()
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.
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.
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.
Order
would not make sense.
Use size_taylor
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.
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.
size_t
t
and is the number of Taylor coefficients,
per variable in the AD operation sequence,
currently calculated and stored in the ADFun object f.