![]() |
Prev | Next |
Independent(
x)
Independent(
x)
The corresponding operation sequence is transferred to a function object,
and the tape is deleted,
using either (see ADFun<Base> f(x, y)
)
ADFun<
Base>
f(
x,
y)
or using (see f.Dependent(x, y)
)
f.Dependent(
x,
y)
Between when the tape is created and when it is destroyed,
we refer to the elements of x,
and the values that depend on the elements of x,
as variables for the tape created by the call to Independent
.
VectorAD &
x
(see VectorAD below).
The size of the vector x, must be greater than zero,
and is the number of independent variables for this
AD operation sequence.
AD<
Base>
.
The routine CheckSimpleVector
will generate an error message
if this is not the case.
Independent
and not deleted by a corresponding call to
ADFun<
Base>
f(
x,
y)
or using
f.Dependent(
x,
y)
Independent
and the corresponding call to
ADFun<
Base>
f(
x,
y)
or
f.Dependent(
x,
y)
must be preformed by the same thread.