NBitValuesContainer¶
Simplified reimplementation of boost::dynamic_bitset<>.
- class n_bit_values_container¶
- flip(self: mqt.syrec.pysyrec.n_bit_values_container, n: SupportsInt) bool¶
Flip the value of the bit at position n
- reset(self: mqt.syrec.pysyrec.n_bit_values_container, n: SupportsInt) bool¶
Set the value of the bit at position n to FALSE
- resize(self: mqt.syrec.pysyrec.n_bit_values_container, n: SupportsInt) None¶
Changes the number of bits stored in the container
- set(*args, **kwargs)¶
Overloaded function.
set(self: mqt.syrec.pysyrec.n_bit_values_container, n: typing.SupportsInt) -> bool
Set the value of the bit at position n to TRUE
set(self: mqt.syrec.pysyrec.n_bit_values_container, n: typing.SupportsInt, value: bool) -> bool
Set the bit at position n to a specific value
- size(self: mqt.syrec.pysyrec.n_bit_values_container) int¶
Get the number of values stored in the container
- test(self: mqt.syrec.pysyrec.n_bit_values_container, n: SupportsInt) bool | None¶
Determine the value of the bit at position n