CppAD: A C++ Algorithmic Differentiation Package
20130102
|
Forward and reverse mode calculations for z = abs(x). More...
Go to the source code of this file.
Functions | |
template<class Base > | |
void | forward_abs_op (size_t j, 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 | 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 | 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.