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

Function array_left_shift

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

Source from the content-addressed store, hash-verified

631}
632
633static PyObject *
634array_left_shift(PyObject *m1, PyObject *m2)
635{
636 PyObject *res;
637
638 BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_lshift, array_left_shift);
639 if (try_binary_elide(m1, m2, &array_inplace_left_shift, &res, 0)) {
640 return res;
641 }
642 return PyArray_GenericBinaryFunction(m1, m2, n_ops.left_shift);
643}
644
645static PyObject *
646array_right_shift(PyObject *m1, PyObject *m2)

Callers

nothing calls this directly

Calls 2

try_binary_elideFunction · 0.85

Tested by

no test coverage detected