CppAD: A C++ Algorithmic Differentiation Package  20130102
tanh_op.hpp

Files

file  tanh_op.hpp
 

Forward and reverse mode calculations for z = tanh(x).


Functions

template<class Base >
void forward_tanh_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 = TanOp.
template<class Base >
void forward_tanh_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 = TanOp.
template<class Base >
void reverse_tanh_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 = TanOp.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines