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

Method index_at

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

Source from the content-addressed store, hash-verified

1003 /// May throw if the index would lead to out of bounds access.
1004 template <typename... Ix>
1005 ssize_t index_at(Ix... index) const {
1006 return offset_at(index...) / itemsize();
1007 }
1008
1009 /**
1010 * 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