Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I generate a Bitset with a fixed capacity and random bits?

I'd like to generate Bitset objects with a capacity (length) of 10 bits for which the individual bits are chosen randomly.