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

Files

file  load_op.hpp
 

Setting a variable so that it corresponds to current value of a VecAD element.


Functions

template<class Base >
void forward_load_p_op_0 (size_t i_z, addr_t *arg, size_t num_par, const Base *parameter, size_t nc_taylor, Base *taylor, size_t nc_combined, const bool *variable, const size_t *combined)
 Zero order forward mode implementation of op = LdpOp.
template<class Base >
void forward_load_v_op_0 (size_t i_z, addr_t *arg, size_t num_par, const Base *parameter, size_t nc_taylor, Base *taylor, size_t nc_combined, const bool *variable, const size_t *combined)
 Zero order forward mode implementation of op = LdvOp.
template<class Base >
void forward_load_op (OpCode op, size_t d, size_t i_z, const addr_t *arg, size_t nc_taylor, Base *taylor)
 Forward mode, except for zero order, for op = LdpOp or op = LdvOp.
template<class Base >
void reverse_load_op (OpCode op, size_t d, size_t i_z, const addr_t *arg, size_t nc_taylor, const Base *taylor, size_t nc_partial, Base *partial)
 Reverse mode for op = LdpOp or LdvOp.
template<class Vector_set >
void forward_sparse_load_op (OpCode op, size_t i_z, const addr_t *arg, size_t num_combined, const size_t *combined, Vector_set &var_sparsity, Vector_set &vecad_sparsity)
 Forward mode sparsity operations for LdpOp and LdvOp.
template<class Vector_set >
void reverse_sparse_jacobian_load_op (OpCode op, size_t i_z, const addr_t *arg, size_t num_combined, const size_t *combined, Vector_set &var_sparsity, Vector_set &vecad_sparsity)
 Reverse mode Jacobian sparsity operations for LdpOp and LdvOp.
template<class Vector_set >
void reverse_sparse_hessian_load_op (OpCode op, size_t i_z, const addr_t *arg, size_t num_combined, const size_t *combined, Vector_set &var_sparsity, Vector_set &vecad_sparsity, bool *var_jacobian, bool *vecad_jacobian)
 Reverse mode Hessian sparsity operations for LdpOp and LdvOp.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines