Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ index_at
Function
index_at
include/pybind11/numpy.h:1436–1438 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1434
1435
template <typename... Ix>
1436
ssize_t index_at(Ix... index) const {
1437
return offset_at(index...) / itemsize();
1438
}
1439
1440
template <typename... Ix>
1441
const T *data(Ix... index) const {
Callers
nothing calls this directly
Calls
2
offset_at
Function · 0.85
itemsize
Function · 0.85
Tested by
no test coverage detected