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