Source code for lacuna.array_api.elementwise.logical_bitwise
from .. import _namespace as _ns
[docs]
def logical_and(x, y):
return getattr(_ns, "logical_and")(x, y)
[docs]
def logical_or(x, y):
return getattr(_ns, "logical_or")(x, y)
[docs]
def logical_not(x):
return getattr(_ns, "logical_not")(x)
[docs]
def logical_xor(x, y):
return getattr(_ns, "logical_xor")(x, y)
[docs]
def bitwise_and(x, y):
return getattr(_ns, "bitwise_and")(x, y)
[docs]
def bitwise_or(x, y):
return getattr(_ns, "bitwise_or")(x, y)
[docs]
def bitwise_xor(x, y):
return getattr(_ns, "bitwise_xor")(x, y)
[docs]
def bitwise_invert(x):
return getattr(_ns, "bitwise_invert")(x)
[docs]
def bitwise_left_shift(x, y):
return getattr(_ns, "bitwise_left_shift")(x, y)
[docs]
def bitwise_right_shift(x, y):
return getattr(_ns, "bitwise_right_shift")(x, y)