CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CppAD::vectorBoolElement Class Reference

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...
 
vectorBoolElementoperator= (bool bit)
 assignment of this element to a bool More...
 
vectorBoolElementoperator= (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...
 
UnitTypeunit_
 pointer to the UnitType value holding this eleemnt More...
 

Detailed Description

Class that is used to hold a non-constant element of a vector.

Definition at line 599 of file vector.hpp.


The documentation for this class was generated from the following file: