TMB Documentation
v1.9.11
|
Access input/output values during a forward pass. Write access granted for the output value only. More...
#include <global.hpp>
Public Member Functions | |
Type | x (Index j) const |
j'th input variable of this operator | |
Type * | x_ptr (Index j) |
pointer version - use with caution. | |
segment_ref< ForwardArgs, x_read > | x_segment (Index from, Index size) |
segment version | |
Type & | y (Index j) |
j'th output variable of this operator | |
Type * | y_ptr (Index j) |
pointer version - use with caution. | |
segment_ref< ForwardArgs, y_write > | y_segment (Index from, Index size) |
segment version | |
Public Member Functions inherited from TMBad::Args<> | |
Index | input (Index j) const |
Get variable index of j'th input to current operator. | |
Index | output (Index j) const |
Get variable index of j'th output of current operator. | |
Additional Inherited Members | |
Public Attributes inherited from TMBad::Args<> | |
const Index * | inputs |
Array for indirect access of operator inputs. | |
IndexPair | ptr |
Input/output pointers. More... | |
Access input/output values during a forward pass. Write access granted for the output value only.
ForwardArgs
class instance becomes invalid if global::inputs
or global::values
are modified. Definition at line 279 of file global.hpp.