Skip to contents

All functions

bitset_choose()
Retain only a given number of bits.
bitset_clone()
Create a copy of an existing bitset.
bitset_create()
Create a new bitset.
bitset_equal()
Returns true if the two bitsets are equal.
bitset_from_vector()
Convert an R integer vector into a bitset.
bitset_insert()
Insert an R integer vector into a bitset.
bitset_invert()
Perform an in-place negation of a bitset.
bitset_or()
Perform an in-place union of two bitsets.
bitset_remove()
Perform an in-place difference of two bitsets.
bitset_sample()
Retain only a random portion of bits, using on independent bernoulli trials.
bitset_size()
Return the number of set bits.
bitset_to_vector()
Convert the bitset into an R integer vector.
create_wrapper()
Create a wrapper function that dispatches to either the device or host implementation.
double_vector_lround()
Round values of the vector to the nearest integer.
integer_vector_match_eq()
Find indices of elements equal to the given value.
integer_vector_match_gt()
Find indices of elements greaher than the given value.
random_create()
Create a parallel random number generator.
vector_values()
Get the contents of the vector as an R atomic vector.