MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / mutable_data

Method mutable_data

libs/pybind/pybind11/numpy.h:821–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819 /// May throw if the array is not writeable.
820 template <typename... Ix>
821 void *mutable_data(Ix... index) {
822 check_writeable();
823 return static_cast<void *>(detail::array_proxy(m_ptr)->data + offset_at(index...));
824 }
825
826 /// Byte offset from beginning of the array to a given index (full or partial).
827 /// May throw if the index would lead to out of bounds access.

Callers 3

mutable_dataMethod · 0.45
dataMethod · 0.45
loadFunction · 0.45

Calls 1

array_proxyFunction · 0.85

Tested by

no test coverage detected