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

Function array_swapaxes

numpy/core/src/multiarray/methods.c:360–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358
359
360static PyObject *
361array_swapaxes(PyArrayObject *self, PyObject *args)
362{
363 int axis1, axis2;
364
365 if (!PyArg_ParseTuple(args, "ii:swapaxes", &axis1, &axis2)) {
366 return NULL;
367 }
368 return PyArray_SwapAxes(self, axis1, axis2);
369}
370
371
372/*NUMPY_API

Callers

nothing calls this directly

Calls 1

PyArray_SwapAxesFunction · 0.85

Tested by

no test coverage detected