TMB Documentation  v1.9.11
Public Member Functions | List of all members
TMBad::global::ad_segment Struct Reference

Contiguous set of variables on the current tape. More...

#include <global.hpp>

Public Member Functions

 ad_segment ()
 Construct empty object.
 
 ad_segment (ad_plain x, size_t n)
 Construct vector like object.
 
 ad_segment (ad_aug x)
 Construct length one object (variable)
 
 ad_segment (Scalar x)
 Construct length one object (constant)
 
 ad_segment (Index idx, size_t n)
 Construction from offset (index) and size.
 
 ad_segment (ad_plain x, size_t r, size_t c)
 Construct matrix like object.
 
 ad_segment (Replay *x, size_t n, bool zero_check=false)
 Construction based on values that might not be on the tape or might not satisfy the storage requirement.
 

Detailed Description

Contiguous set of variables on the current tape.

This class can represent vectors (or matrices) in a compact way assuming that numerical values are available on the tape as a contiguous segment. The class stores the offset and the size (or dimension) of the segment.

Definition at line 2780 of file global.hpp.


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