Prev | Next |
exp_eps(x, epsilon)
with
x
is equal to .5
and
epsilon
is equal to .2.
For this case, the mathematical function for the operation sequence
corresponding to exp_eps
is
@[@
f ( x , \varepsilon ) = 1 + x + x^2 / 2
@]@
The corresponding partial derivatives,
and the value of the derivatives, are
@[@
\begin{array}{rcl}
\partial_x f ( x , \varepsilon ) & = & 1 + x = 1.5
\\
\partial_\varepsilon f ( x , \varepsilon ) & = & 0
\end{array}
@]@
exp_eps(x, epsilon)
at
x
equal to .5 and
epsilon
equal .2 is
1.5 in the
x
direction and zero in the
epsilon
direction.
We also note that
forward
forward mode gave the
same result for the partial in the
x
direction.