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

Method numpy_scalar

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

Source from the content-addressed store, hash-verified

813 value_type value;
814
815 numpy_scalar() = default;
816 explicit numpy_scalar(value_type value) : value(value) {}
817
818 explicit operator value_type() const { return value; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected