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

Function check_and_adjust_axis

numpy/core/src/multiarray/common.h:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 return 0;
170}
171static inline int
172check_and_adjust_axis(int *axis, int ndim)
173{
174 return check_and_adjust_axis_msg(axis, ndim, Py_None);
175}
176
177/* used for some alignment checks */
178/*

Callers 10

PyArray_CheckAxisFunction · 0.85
PyArray_SortFunction · 0.85
PyArray_PartitionFunction · 0.85
PyArray_LexSortFunction · 0.85
PyArray_TransposeFunction · 0.85
PyArray_ConvertMultiAxisFunction · 0.85
_parse_axes_argFunction · 0.85
_parse_axis_argFunction · 0.85
PyUFunc_GenericReductionFunction · 0.85

Calls 1

Tested by

no test coverage detected