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

Function array_strides_get

numpy/core/src/multiarray/getset.c:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105static PyObject *
106array_strides_get(PyArrayObject *self, void *NPY_UNUSED(ignored))
107{
108 return PyArray_IntTupleFromIntp(PyArray_NDIM(self), PyArray_STRIDES(self));
109}
110
111static int
112array_strides_set(PyArrayObject *self, PyObject *obj, void *NPY_UNUSED(ignored))

Callers

nothing calls this directly

Calls 3

PyArray_IntTupleFromIntpFunction · 0.85
PyArray_NDIMFunction · 0.85
PyArray_STRIDESFunction · 0.85

Tested by

no test coverage detected