Std.BitVector
18 public declarations
- bitAnd
&Std.BitVector.BitVector -> &Std.BitVector.BitVector -> Option[Std.BitVector.BitVector]Parallel 64-bit hardware bitwise AND.
- bitNot
&Std.BitVector.BitVector -> Std.BitVector.BitVectorParallel 64-bit hardware bitwise NOT with trailing bit masking.
- bitOr
&Std.BitVector.BitVector -> &Std.BitVector.BitVector -> Option[Std.BitVector.BitVector]Parallel 64-bit hardware bitwise OR.
- BitVector
A dense contiguous sequence of bits backed by unboxed 64-bit words.
- bitXor
&Std.BitVector.BitVector -> &Std.BitVector.BitVector -> Option[Std.BitVector.BitVector]Parallel 64-bit hardware bitwise XOR.
- countZeros
&Std.BitVector.BitVector -> IntTotal count of clear bits (0s).
- create
Int -> Bool -> Std.BitVector.BitVectorAllocates a bit-vector of exact bit length initialized to false (0) or true (1).
- findFirstSet
&Std.BitVector.BitVector -> Option[Int]Finds the index of the lowest set bit using hardware trailing-zero scan.
- findFirstZero
&Std.BitVector.BitVector -> Option[Int]Finds the index of the lowest clear bit.
- flip
&Std.BitVector.BitVector -> Int -> Option[Std.BitVector.BitVector]Inverts the bit at the given index.
- fromBits
&Array[Bool] -> Std.BitVector.BitVectorConstructs a bit-vector from an array of boolean flags.
- get
&Std.BitVector.BitVector -> Int -> Option[Bool]Reads the bit at the given index.
- isOnes
&Std.BitVector.BitVector -> BoolWhether all bits in the vector are one.
- isZero
&Std.BitVector.BitVector -> BoolWhether all bits in the vector are zero.
- length
&Std.BitVector.BitVector -> IntTotal number of addressable bits in the vector.
- popCount
&Std.BitVector.BitVector -> IntTotal count of set bits (1s) across the entire vector.
- set
&Std.BitVector.BitVector -> Int -> Bool -> Option[Std.BitVector.BitVector]Sets the bit at the given index to value.
- toBits
&Std.BitVector.BitVector -> Array[Bool]Converts the bit-vector to an array of booleans.
