MCPcopy Create free account
hub / github.com/numpy/numpy / array_right_shift

Function array_right_shift

numpy/core/src/multiarray/number.c:645–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645static PyObject *
646array_right_shift(PyObject *m1, PyObject *m2)
647{
648 PyObject *res;
649
650 BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_rshift, array_right_shift);
651 if (try_binary_elide(m1, m2, &array_inplace_right_shift, &res, 0)) {
652 return res;
653 }
654 return PyArray_GenericBinaryFunction(m1, m2, n_ops.right_shift);
655}
656
657static PyObject *
658array_bitwise_and(PyObject *m1, PyObject *m2)

Callers

nothing calls this directly

Calls 2

try_binary_elideFunction · 0.85

Tested by

no test coverage detected