atlas
0.6
|
#include <Atlas.h>
Public Types | |
typedef BitSet< dim > | base_set |
Public Member Functions | |
BitVector (size_t n) | |
BitVector (size_t n, size_t j) | |
BitVector (BitSet< dim > data, size_t n) | |
template<typename C > | |
BitVector (const matrix::Vector< C > &weight) | |
BitVector (const BitVector &v) | |
BitVector & | operator= (const BitVector &v) |
bool | operator< (const BitVector &v) const |
bool | operator== (const BitVector &v) const |
bool | operator!= (const BitVector &v) const |
bool | operator[] (size_t i) const |
size_t | size () const |
const BitSet< dim > & | data () const |
size_t | firstBit () const |
size_t | count () |
bool | isZero () const |
bool | nonZero () const |
bool | dot (const BitVector &v) const |
BitVector | operator+ (const BitVector &v) const |
BitVector | operator- (const BitVector &v) const |
template<typename C > | |
operator matrix::Vector< C > () const | |
BitVector & | operator+= (const BitVector &v) |
BitVector & | operator-= (const BitVector &v) |
BitVector & | operator&= (const BitVector &v) |
BitVector & | operator>>= (size_t pos) |
BitVector & | operator<<= (size_t pos) |
BitVector & | flip (size_t i) |
BitVector & | pushBack (bool) |
BitVector & | set (size_t i) |
void | set (size_t i, bool b) |
void | set_mod2 (size_t i, unsigned long v) |
BitVector & | reset () |
BitVector & | reset (size_t i) |
void | resize (size_t n) |
void | slice (const BitSet< dim > &mask) |
void | unslice (BitSet< dim > mask, size_t new_size) |
Private Attributes | |
base_set | d_data |
unsigned short int | d_size |
typedef BitSet<dim> atlas::bitvector::BitVector< dim >::base_set |
|
inlineexplicit |
|
inline |
|
inline |
|
explicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
BitVector< dim > & atlas::bitvector::BitVector< dim >::pushBack | ( | bool | b | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void atlas::bitvector::BitVector< dim >::slice | ( | const BitSet< dim > & | mask | ) |
void atlas::bitvector::BitVector< dim >::unslice | ( | BitSet< dim > | mask, |
size_t | new_size | ||
) |
|
private |
|
private |