Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ index_at_t
Function
index_at_t
tests/test_numpy_array.cpp:115–117 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
113
}
114
template <typename... Ix>
115
py::ssize_t index_at_t(const arr_t &a, Ix... idx) {
116
return a.index_at(idx...);
117
}
118
template <typename... Ix>
119
py::ssize_t offset_at(const arr &a, Ix... idx) {
120
return a.offset_at(idx...);
Callers
nothing calls this directly
Calls
1
index_at
Method · 0.80
Tested by
no test coverage detected