CppAD: A C++ Algorithmic Differentiation Package 20110419
add_op.hpp File Reference

Forward and reverse mode calculations for z = x + y. More...

Go to the source code of this file.

Functions

template<class Base >
void forward_addvv_op (size_t d, size_t i_z, const size_t *arg, const Base *parameter, size_t nc_taylor, Base *taylor)
 Compute forward mode Taylor coefficients for result of op = AddvvOp.
template<class Base >
void forward_addvv_op_0 (size_t i_z, const size_t *arg, const Base *parameter, size_t nc_taylor, Base *taylor)
 Compute zero order forward mode Taylor coefficients for result of op = AddvvOp.
template<class Base >
void reverse_addvv_op (size_t d, size_t i_z, const size_t *arg, const Base *parameter, size_t nc_taylor, const Base *taylor, size_t nc_partial, Base *partial)
 Compute reverse mode partial derivatives for result of op = AddvvOp.
template<class Base >
void forward_addpv_op (size_t d, size_t i_z, const size_t *arg, const Base *parameter, size_t nc_taylor, Base *taylor)
 Compute forward mode Taylor coefficients for result of op = AddpvOp.
template<class Base >
void forward_addpv_op_0 (size_t i_z, const size_t *arg, const Base *parameter, size_t nc_taylor, Base *taylor)
 Compute zero order forward mode Taylor coefficient for result of op = AddpvOp.
template<class Base >
void reverse_addpv_op (size_t d, size_t i_z, const size_t *arg, const Base *parameter, size_t nc_taylor, const Base *taylor, size_t nc_partial, Base *partial)
 Compute reverse mode partial derivative for result of op = AddpvOp.

Detailed Description

Forward and reverse mode calculations for z = x + y.

Definition in file add_op.hpp.