CppAD: A C++ Algorithmic Differentiation Package  20130918
CppAD::checkpoint< Base > Class Template Reference
Inheritance diagram for CppAD::checkpoint< Base >:
CppAD::atomic_base< Base >

List of all members.

Public Types

enum  option_enum { bool_sparsity_enum, set_sparsity_enum }

Public Member Functions

const std::string & afun_name (void) const
 Name corresponding to a base_atomic object.
template<class Algo , class ADVector >
 checkpoint (const char *name, Algo &algo, const ADVector &ax, ADVector &ay)
 Constructor of a checkpoint object.
virtual bool for_sparse_jac (size_t q, const vector< std::set< size_t > > &r, vector< std::set< size_t > > &s)
 Link from user_atomic to forward sparse Jacobian.
virtual bool for_sparse_jac (size_t q, const vector< bool > &r, vector< bool > &s)
 Link from user_atomic to forward sparse Jacobian.
virtual bool forward (size_t p, size_t q, const vector< bool > &vx, vector< bool > &vy, const vector< Base > &tx, vector< Base > &ty)
 Link from user_atomic to forward mode.
template<class ADVector >
void operator() (const ADVector &ax, ADVector &ay, size_t id=0)
 Implement the user call to afun(ax, ay).
void option (enum option_enum option_value)
virtual bool rev_sparse_hes (const vector< bool > &vx, const vector< bool > &s, vector< bool > &t, size_t q, const vector< std::set< size_t > > &r, const vector< std::set< size_t > > &u, vector< std::set< size_t > > &v)
 Link from user_atomic to forward sparse Jacobian.
virtual bool rev_sparse_hes (const vector< bool > &vx, const vector< bool > &s, vector< bool > &t, size_t q, const vector< bool > &r, const vector< bool > &u, vector< bool > &v)
 Link from user_atomic to forward sparse Jacobian.
virtual bool rev_sparse_jac (size_t q, const vector< std::set< size_t > > &rt, vector< std::set< size_t > > &st)
 Link from user_atomic to forward sparse Jacobian.
virtual bool rev_sparse_jac (size_t q, const vector< bool > &rt, vector< bool > &st)
 Link from user_atomic to forward sparse Jacobian.
virtual bool reverse (size_t q, const vector< Base > &tx, const vector< Base > &ty, vector< Base > &px, const vector< Base > &py)
 Link from user_atomic to reverse mode.
virtual void set_id (size_t id)
 Set value of id (used by deprecated old_atomic class)
option_enum sparsity (void) const
 current sparsity setting

Static Public Member Functions

static const std::string & class_name (size_t index)
 atomic_base function name corresponding to a certain index
static atomic_baseclass_object (size_t index)
 atomic_base function object corresponding to a certain index
static void clear (void)
 Free all thread_alloc static memory held by atomic_base (avoids reallocations).

Private Attributes

ADFun< Base > f_

Detailed Description

template<class Base>
class CppAD::checkpoint< Base >

Definition at line 160 of file checkpoint.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines