T-SIMD v31.1.0
A C++ template SIMD library
|
SIMD mask class consisting of as many bits as the corresponding Vec has elements. More...
SIMD mask class consisting of as many bits as the corresponding Vec has elements.
Public Member Functions | |
Mask (const uint64_t x) | |
Constructs a Mask from an integer. | |
Mask (const Vec< T, SIMD_WIDTH > &x) | |
Constructs a Mask from a Vec. | |
operator uint64_t () const | |
Converts the Mask to an integer. | |
operator Vec< T, SIMD_WIDTH > () const | |
Converts the Mask to a Vec. | |
bool | operator== (const Mask< T, SIMD_WIDTH > &other) const |
Compares the Mask with another Mask. | |
bool | operator[] (const size_t i) const |
Returns the Mask bit at the given index. | |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |