MCPcopy 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}
122template <typename... Ix>
123py::ssize_t offset_at_t(const arr_t &a, Ix... idx) {
124 return a.offset_at(idx...);
125}
126template <typename... Ix>
127py::ssize_t at_t(const arr_t &a, Ix... idx) {
128 return a.at(idx...);

Callers

nothing calls this directly

Calls 1

offset_atMethod · 0.80

Tested by

no test coverage detected