MCPcopy Create free account
hub / github.com/davisking/dlib / index_at

Method index_at

dlib/external/pybind11/include/pybind11/numpy.h:1227–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1225 /// May throw if the index would lead to out of bounds access.
1226 template <typename... Ix>
1227 ssize_t index_at(Ix... index) const {
1228 return offset_at(index...) / itemsize();
1229 }
1230
1231 /**
1232 * Returns a proxy object that provides access to the array's data without bounds or

Callers

nothing calls this directly

Calls 1

itemsizeFunction · 0.85

Tested by

no test coverage detected