TMB Documentation
v1.9.11
|
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 | |
Transform a functor to have packed input/output.
A functor operating on ad_segment
s must be transformed to 'packed' format in order to be used by AtomOp
with packed=true
.
PackWrap<Functor>
.PackWrap<Tester>
. Definition at line 253 of file checkpoint.hpp.