/* $Id: reverse.omh 3301 2014-05-24 05:20:21Z bradbell $ */ /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the Eclipse Public License Version 1.0. A copy of this license is included in the COPYING file of this distribution. Please visit http://www.coin-or.org/CppAD/ for information on other licenses. -------------------------------------------------------------------------- */ $begin Reverse$$ $spell xq $$ $section Reverse Mode$$ $head Multiple Directions$$ Reverse mode after $cref/Forward(q, r, xq)/forward_dir/$$ with number of directions $icode%r% != 1%$$ is not yet supported. There is one exception, $cref reverse_one$$ is allowed because there is only one zero order forward direction. After such an operation, only the zero order forward results are retained (the higher order forward results are lost). $childtable% omh/reverse/reverse_one.omh% omh/reverse/reverse_two.omh% omh/reverse/reverse_any.omh %$$ $end