BitSet
BitSet[n,k]
sets to 1 the bit corresponding to the coefficient of in the integer n.
Examples
open allclose allBasic Examples (1)
Scope (1)
BitSet automatically creates an integer of the necessary size:
Wolfram Research (2007), BitSet, Wolfram Language function, https://reference.wolfram.com/language/ref/BitSet.html.
Text
Wolfram Research (2007), BitSet, Wolfram Language function, https://reference.wolfram.com/language/ref/BitSet.html.
CMS
Wolfram Language. 2007. "BitSet." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BitSet.html.
APA
Wolfram Language. (2007). BitSet. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BitSet.html