Single-character for dtype's type. For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.
| 719 | /// Single-character for dtype's type. |
| 720 | /// For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'. |
| 721 | char char_() const { |
| 722 | // Note: The signature, `dtype::char_` follows the naming of NumPy's |
| 723 | // public Python API (i.e., ``dtype.char``), rather than its internal |
| 724 | // C API (``PyArray_Descr::type``). |
| 725 | return detail::array_descriptor_proxy(m_ptr)->type; |
| 726 | } |
| 727 | |
| 728 | /// type number of dtype. |
| 729 | int num() const { |
nothing calls this directly
no test coverage detected