52#ifndef __ADS_FastBitwise
53 #define __ADS_FastBitwise
109[[nodiscard]]
inline std::uint64_t
popcount(
const Word * w , std::size_t n );
207[[nodiscard]]
inline std::pair< std::uint32_t , std::uint32_t >
218#include "ADS/combinatorial/impl/FastBitwise.tpp"
The vector of bits on which the succinct structures and the integer codes of ADS are built: the bits ...
The broadword tricks of Knuth (section 7.1.3 of The Art of Computer Programming), beyond the book: op...
The contracts of ADS: the preconditions, the postconditions and the invariants of the operations,...
The vector kernels of ADS on Google Highway, with ADS_WITH_HIGHWAY: the loops over arrays that a stru...
std::uint64_t popcountAnd(const Word *a, const Word *b, std::size_t n)
the 1 bits of the words of
Word pext(Word x, Word mask)
the bits of at the places of the 1 bits of mask, packed low
int select(Word x, int r)
the place of the 1 of rank of , from 0
Word pdep(Word x, Word mask)
the low bits of to the places of the 1 bits of mask, in order
std::pair< std::uint32_t, std::uint32_t > mortonDecode(Word z)
the of the Morton code
std::uint64_t popcount(const Word *w, std::size_t n)
the 1 bits of the words from
Word mortonEncode(std::uint32_t x, std::uint32_t y)
the Morton code of , the bits of in the even places and those of in the odd ones
std::uint64_t Word
a word of 64 bits
Definition Bitwise.h:73