Specialization of binomial_coefficients_trait for 256-bit integers.
More...
#include <rrr_helper.hpp>
|
static uint16_t | hi (number_type x) |
|
template<class bit_vector_type> |
static number_type | get_int (bit_vector_type const &bv, typename bit_vector_type::size_type pos, uint16_t len) |
|
template<class bit_vector_type> |
static void | set_int (bit_vector_type &bv, typename bit_vector_type::size_type pos, number_type x, uint16_t len) |
|
static uint16_t | popcount (number_type x) |
|
static uint16_t | hi (number_type x) |
|
static number_type | get_int (bit_vector_type const &bv, typename bit_vector_type::size_type pos, uint16_t len) |
| Read a -bit integer of type number_type from a bitvector.
|
|
static void | set_int (bit_vector_type &bv, typename bit_vector_type::size_type pos, number_type x, uint16_t len) |
| Write a -bit integer x of type number_type to a bitvector.
|
|
static uint16_t | popcount (number_type x) |
| Count the number of set bits in x.
|
|
Specialization of binomial_coefficients_trait for 256-bit integers.
Definition at line 127 of file rrr_helper.hpp.
◆ number_type [1/2]
◆ number_type [2/2]
◆ get_int() [1/2]
Read a
-bit integer of type number_type from a bitvector.
- Parameters
-
bv | A bit_vector of int_vector from which we extract the integer. |
pos | Position of the least significant bit of the integer which should be read. |
len | bit-width of the integer which should be read. |
- Returns
- The len-bit integer.
Definition at line 47 of file rrr_helper.hpp.
◆ get_int() [2/2]
template<class bit_vector_type>
◆ hi() [1/2]
◆ hi() [2/2]
◆ popcount() [1/2]
Count the number of set bits in x.
- Parameters
-
Definition at line 69 of file rrr_helper.hpp.
◆ popcount() [2/2]
◆ set_int() [1/2]
Write a
-bit integer x of type number_type to a bitvector.
- Parameters
-
bv | A bit_vecor or int_vector in which we write the integer. |
pos | Position of the least significant bit of the integer which should be written. |
x | The integer x which should be written. |
len | Bit-width of x. |
Definition at line 60 of file rrr_helper.hpp.
◆ set_int() [2/2]
template<class bit_vector_type>
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/sdsl-lite-3.0.3-build/sdsl-lite-3.0.3/include/sdsl/rrr_helper.hpp