![]() |
Prev | Next | Dependent |
f.Dependent(
x,
y)
Independent(
x)
and store the operation sequence in f.
The operation sequence defines an
AD function
\[
F : B^n \rightarrow B^m
\]
where
B
is the space corresponding to objects of type Base.
The value
n
is the dimension of the
domain
space for the operation sequence.
The value
m
is the dimension of the
range
space for the operation sequence
(which is determined by the size of y).
ADFun<
Base>
f
The AD of Base operation sequence is stored in f; i.e.,
it becomes the operation sequence corresponding to f.
If a previous operation sequence was stored in f,
it is deleted.
Independent(
x)
and
f.Dependent(
x,
y)
.
const
ADvector &
y
(see ADvector
below).
The length of y must be greater than zero
and is the dimension of the range space for f.
AD<
Base>
.
The routine CheckSimpleVector
will generate an error message
if this is not the case.
Independent(
x)
was called,
will stop recording.
The AD operation sequence will be transferred from
the tape to the object f and the tape will then be deleted.
f.size_taylor()
is zero (see size_taylor
).