MCPcopy 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_atFunction · 0.85
itemsizeFunction · 0.85

Tested by

no test coverage detected