MCPcopy Create free account
hub / github.com/pybind/pybind11 / mutable_data

Method mutable_data

include/pybind11/numpy.h:763–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761 /// Mutable pointer access to the data at the given indices.
762 template <typename... Ix>
763 T *mutable_data(Ix... ix) {
764 return &operator()(ssize_t(ix)...);
765 }
766};
767
768template <typename T, ssize_t Dim>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected