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

Files

file  csum_op.hpp
 

Forward, reverse and sparsity calculations for cummulative summation.


Functions

template<class Base >
void forward_csum_op (size_t d, size_t i_z, const addr_t *arg, size_t num_par, const Base *parameter, size_t nc_taylor, Base *taylor)
 Compute forward mode Taylor coefficients for result of op = CsumOp.
template<class Base >
void reverse_csum_op (size_t d, size_t i_z, const addr_t *arg, size_t nc_partial, Base *partial)
 Compute reverse mode Taylor coefficients for result of op = CsumOp.
template<class Vector_set >
void forward_sparse_jacobian_csum_op (size_t i_z, const addr_t *arg, Vector_set &sparsity)
 Forward mode Jacobian sparsity pattern for CSumOp operator.
template<class Vector_set >
void reverse_sparse_jacobian_csum_op (size_t i_z, const addr_t *arg, Vector_set &sparsity)
 Reverse mode Jacobian sparsity pattern for CSumOp operator.
template<class Vector_set >
void reverse_sparse_hessian_csum_op (size_t i_z, const addr_t *arg, bool *rev_jacobian, Vector_set &rev_hes_sparsity)
 Reverse mode Hessian sparsity pattern for CSumOp operator.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines