Types
BitArray2d = ref object
- Creates an array of bits all packed in together. Source Edit
Procs
func `$`(b: BitArray): string {....raises: [], tags: [], forbids: [].}
- Turns the bit array into a string. Source Edit
func `$`(b: BitArray2d): string {....raises: [], tags: [], forbids: [].}
- Turns the bit array into a string. Source Edit
func `==`(a, b: BitArray): bool {....raises: [], tags: [], forbids: [].}
- Are two bit arrays the same. Source Edit
func `==`(a, b: BitArray2d): bool {....raises: [], tags: [], forbids: [].}
- Are two bit arrays the same. Source Edit
func `[]`(b: BitArray2d; x, y: int): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
func `[]=`(b: BitArray2d; x, y: int; v: bool) {....raises: [], tags: [], forbids: [].}
- Source Edit
func `and`(a, b: BitArray): BitArray {....raises: [ValueError], tags: [], forbids: [].}
- And(s) two bit arrays returning a new bit array. Source Edit
func `and`(a, b: BitArray2d): BitArray2d {....raises: [ValueError], tags: [], forbids: [].}
- And(s) two bit arrays returning a new bit array. Source Edit
func firstFalse(b: BitArray): (bool, int) {....raises: [], tags: [], forbids: [].}
- Source Edit
func hash(b: BitArray): Hash {....raises: [], tags: [], forbids: [].}
- Computes a Hash for the bit array. Source Edit
func hash(b: BitArray2d): Hash {....raises: [], tags: [], forbids: [].}
- Computes a Hash for the bit array. Source Edit
func newBitArray(len: int = 0): BitArray {....raises: [], tags: [], forbids: [].}
- Create a new bit array. Source Edit
func newBitArray2d(stride, len: int): BitArray2d {....raises: [], tags: [], forbids: [].}
- Create a new bit array. Source Edit
func `not`(a: BitArray): BitArray {....raises: [], tags: [], forbids: [].}
- Not(s) or inverts a and returns a new bit array. Source Edit
func `not`(a: BitArray2d): BitArray2d {....raises: [], tags: [], forbids: [].}
- Not(s) or inverts a and returns a new bit array. Source Edit
func `or`(a, b: BitArray): BitArray {....raises: [ValueError], tags: [], forbids: [].}
- Or(s) two bit arrays returning a new bit array. Source Edit
func `or`(a, b: BitArray2d): BitArray2d {....raises: [ValueError], tags: [], forbids: [].}
- Or(s) two bit arrays returning a new bit array. Source Edit
func unsafeSetFalse(b: BitArray; i: int) {....raises: [], tags: [], forbids: [].}
- Set a single bit to false (unchecked). Source Edit
func unsafeSetTrue(b: BitArray; i: int) {....raises: [], tags: [], forbids: [].}
- Set a single bit to true (unchecked). Source Edit