Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ offset_at_t
Function
offset_at_t
tests/test_numpy_array.cpp:123–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
121
}
122
template <typename... Ix>
123
py::ssize_t offset_at_t(const arr_t &a, Ix... idx) {
124
return a.offset_at(idx...);
125
}
126
template <typename... Ix>
127
py::ssize_t at_t(const arr_t &a, Ix... idx) {
128
return a.at(idx...);
Callers
nothing calls this directly
Calls
1
offset_at
Method · 0.80
Tested by
no test coverage detected