CppAD: A C++ Algorithmic Differentiation Package  20130102
sparse_unary_op.hpp File Reference

Forward and reverse mode sparsity patterns for unary operators. More...

Go to the source code of this file.

Functions

template<class Vector_set >
void forward_sparse_jacobian_unary_op (size_t i_z, size_t i_x, Vector_set &sparsity)
 Forward mode Jacobian sparsity pattern for all unary operators.
template<class Vector_set >
void reverse_sparse_jacobian_unary_op (size_t i_z, size_t i_x, Vector_set &sparsity)
 Reverse mode Jacobian sparsity pattern for all unary operators.
template<class Vector_set >
void reverse_sparse_hessian_linear_unary_op (size_t i_z, size_t i_x, bool *rev_jacobian, Vector_set &for_jac_sparsity, Vector_set &rev_hes_sparsity)
 Reverse mode Hessian sparsity pattern for linear unary operators.
template<class Vector_set >
void reverse_sparse_hessian_nonlinear_unary_op (size_t i_z, size_t i_x, bool *rev_jacobian, Vector_set &for_jac_sparsity, Vector_set &rev_hes_sparsity)
 Reverse mode Hessian sparsity pattern for non-linear unary operators.

Detailed Description

Forward and reverse mode sparsity patterns for unary operators.

Definition in file sparse_unary_op.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines