CppAD: A C++ Algorithmic Differentiation Package
20171217
|
Class that is used to hold a non-constant element of a vector. More...
Public Member Functions | |
operator bool () const | |
conversion to a boolean value More... | |
vectorBoolElement & | operator= (bool bit) |
assignment of this element to a bool More... | |
vectorBoolElement & | operator= (const vectorBoolElement &e) |
assignment of this element to another element More... | |
vectorBoolElement (UnitType *unit, UnitType mask) | |
constructor from member values More... | |
vectorBoolElement (const vectorBoolElement &e) | |
constuctor from another element More... | |
Private Types | |
typedef size_t | UnitType |
the boolean data is packed with sizeof(UnitType) bits per value More... | |
Private Attributes | |
UnitType | mask_ |
mask for the bit corresponding to this element (all zero except for bit that corresponds to this element) More... | |
UnitType * | unit_ |
pointer to the UnitType value holding this eleemnt More... | |
Class that is used to hold a non-constant element of a vector.
Definition at line 599 of file vector.hpp.