CppAD: A C++ Algorithmic Differentiation Package
20130918
|
Forward and reverse mode calculations for z = abs(x). More...
Go to the source code of this file.
Namespaces | |
namespace | CppAD |
contains all the variables and functions defined by the CppAD package. | |
Functions | |
template<class Base > | |
void | CppAD::forward_abs_op (size_t p, size_t q, size_t i_z, size_t i_x, size_t nc_taylor, Base *taylor) |
Compute forward mode Taylor coefficient for result of op = AbsOp. | |
template<class Base > | |
void | CppAD::forward_abs_op_0 (size_t i_z, size_t i_x, size_t nc_taylor, Base *taylor) |
Compute zero order forward mode Taylor coefficient for result of op = AbsOp. | |
template<class Base > | |
void | CppAD::reverse_abs_op (size_t d, size_t i_z, size_t i_x, size_t nc_taylor, const Base *taylor, size_t nc_partial, Base *partial) |
Compute reverse mode partial derivatives for result of op = AbsOp. |
Forward and reverse mode calculations for z = abs(x).
Definition in file abs_op.hpp.