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

Method kind

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

Single-character code for dtype's kind. For example, floating point types are 'f' and integral types are 'i'.

Source from the content-addressed store, hash-verified

914 /// Single-character code for dtype's kind.
915 /// For example, floating point types are 'f' and integral types are 'i'.
916 char kind() const { return detail::array_descriptor_proxy(m_ptr)->kind; }
917
918 /// Single-character for dtype's type.
919 /// For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.

Callers 2

TEST_SUBMODULEFunction · 0.80
strip_paddingMethod · 0.80

Calls 1

array_descriptor_proxyFunction · 0.85

Tested by 1

TEST_SUBMODULEFunction · 0.64