Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
171
static inline int
172
check_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_CheckAxis
Function · 0.85
PyArray_Sort
Function · 0.85
PyArray_Partition
Function · 0.85
PyArray_LexSort
Function · 0.85
PyArray_Transpose
Function · 0.85
PyArray_ConcatenateArrays
Function · 0.85
PyArray_ConvertMultiAxis
Function · 0.85
_parse_axes_arg
Function · 0.85
_parse_axis_arg
Function · 0.85
PyUFunc_GenericReduction
Function · 0.85
Calls
1
check_and_adjust_axis_msg
Function · 0.85
Tested by
no test coverage detected