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