TMB Documentation  v1.9.11
Public Member Functions | List of all members
TMBad::PackWrap< Functor > Struct Template Reference

Transform a functor to have packed input/output. More...

#include <checkpoint.hpp>

Public Member Functions

template<class T >
std::vector< T > operator() (const std::vector< T > &xp)
 Transformed functor assuming original maps std::vector<ad_segment> to ad_segment
 
bool operator() (const std::vector< Scalar > &xp)
 Transformed 'tester' assuming original maps std::vector<Scalar*> to bool
 

Detailed Description

template<class Functor>
struct TMBad::PackWrap< Functor >

Transform a functor to have packed input/output.

A functor operating on ad_segments must be transformed to 'packed' format in order to be used by AtomOp with packed=true.

Definition at line 253 of file checkpoint.hpp.


The documentation for this struct was generated from the following file:
License: GPL v2