MCPcopy Create free account
hub / github.com/KratosMultiphysics/Kratos / mutable_data

Method mutable_data

external_libraries/pybind11/numpy.h:1189–1192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1187 /// May throw if the array is not writeable.
1188 template <typename... Ix>
1189 void *mutable_data(Ix... index) {
1190 check_writeable();
1191 return static_cast<void *>(detail::array_proxy(m_ptr)->data + offset_at(index...));
1192 }
1193
1194 /// Byte offset from beginning of the array to a given index (full or partial).
1195 /// May throw if the index would lead to out of bounds access.

Callers 6

mutable_dataMethod · 0.45
dataMethod · 0.45
loadFunction · 0.45
get_array_data_for_typeFunction · 0.45
AddNDDataFunction · 0.45
MakeNumpyArrayFunction · 0.45

Calls 1

array_proxyFunction · 0.85

Tested by

no test coverage detected