Prev | Next | atomic_two_afun |
afun(ax, ay)
ax
,
this call computes the corresponding value of
ay
.
If
AD<Base>
operations are being recorded,
it enters the computation as an atomic operation in the recording;
see start recording
.
ADVector
must be a
simple vector class
with elements of type
AD<Base>
; see Base
.
afun
function call is implemented by the
atomic
class.
const ADVector& ax
and size must be equal to
n
.
It specifies vector @(@
x \in \B{R}^n
@)@
at which an
AD<Base>
version of
@(@
y = f(x)
@)@ is to be evaluated; see
Base
.
ADVector& ay
and size must be equal to
m
.
The input values of its elements
are not specified (must not matter).
Upon return, it is an
AD<Base>
version of
@(@
y = f(x)
@)@.