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

Function array_invert

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

Source from the content-addressed store, hash-verified

622}
623
624static PyObject *
625array_invert(PyArrayObject *m1)
626{
627 if (can_elide_temp_unary(m1)) {
628 return PyArray_GenericInplaceUnaryFunction(m1, n_ops.invert);
629 }
630 return PyArray_GenericUnaryFunction(m1, n_ops.invert);
631}
632
633static PyObject *
634array_left_shift(PyObject *m1, PyObject *m2)

Callers

nothing calls this directly

Tested by

no test coverage detected