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

Function make_scalar

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

Source from the content-addressed store, hash-verified

830
831template <typename T>
832numpy_scalar<T> make_scalar(T value) {
833 return numpy_scalar<T>(value);
834}
835
836class dtype : public object {
837public:

Callers 1

register_testFunction · 0.85

Calls

no outgoing calls

Tested by 1

register_testFunction · 0.68