Home
Overview
Fundamentals
Glossary
Cheatsheet
API Reference
Quick Recipes
Deep Dive
Common Pitfalls and Gotchas
Persistent Storage
Bitwise operators.
kd.bitwise.bitwise_and(x, y)Aliases:
Computes pointwise bitwise x & y.
kd.bitwise.bitwise_or(x, y)Aliases:
Computes pointwise bitwise x | y.
kd.bitwise.bitwise_xor(x, y)Aliases:
Computes pointwise bitwise x ^ y.
kd.bitwise.count(x)Aliases:
Computes the number of bits set to 1 in the given input.
kd.bitwise.invert(x)Aliases:
Computes pointwise bitwise ~x.