numpy 1.22.4 Pypi GitHub Homepage
Other Docs

This module is designed so "from numerictypes import \*" is safe. Exported symbols include:

Dictionary with all registered number types (including aliases):

sctypeDict

Type objects (not all will be available, depends on platform):

see variable sctypes for which ones you have

Bit-width names

int8 int16 int32 int64 int128 uint8 uint16 uint32 uint64 uint128 float16 float32 float64 float96 float128 float256 complex32 complex64 complex128 complex192 complex256 complex512 datetime64 timedelta64

c-based names

bool_

object_

void, str_ , :None:None:`unicode_`

byte, ubyte, short, ushort intc, uintc, intp, uintp, :None:None:`int_`, uint, longlong, ulonglong,

single, csingle, :None:None:`float_`, :None:None:`complex_`, longfloat, clongfloat,

As part of the type-hierarchy: xx -- is bit-width

generic

+-> bool_ (kind=b) +-> number | +-> integer | | +-> signedinteger (intxx) (kind=i) | | | byte | | | short | | | intc | | | intp int0 | | | :None:None:`int_` | | | longlong | | \-> unsignedinteger (uintxx) (kind=u) | | ubyte | | ushort | | uintc | | uintp uint0 | | :None:None:`uint_` | | ulonglong | +-> inexact | +-> floating (floatxx) (kind=f) | | half | | single | | :None:None:`float_` (double) | | longfloat | \-> complexfloating (complexxx) (kind=c) | csingle (singlecomplex) | :None:None:`complex_` (cfloat, cdouble) | clongfloat (longcomplex) +-> flexible | +-> character | | str_ (:None:None:`string_`, bytes_ ) (kind=S) [Python 2] | | :None:None:`unicode_` (kind=U) [Python 2] | | | | bytes_ (:None:None:`string_`) (kind=S) [Python 3] | | str_ (:None:None:`unicode_`) (kind=U) [Python 3] | | | \-> void (kind=V) \-> object_ (not used much) (kind=O)

numerictypes: Define the numeric type objects

numerictypes: Define the numeric type objects

This module is designed so "from numerictypes import \*" is safe. Exported symbols include:

Dictionary with all registered number types (including aliases):

sctypeDict

Type objects (not all will be available, depends on platform):

see variable sctypes for which ones you have

Bit-width names

int8 int16 int32 int64 int128 uint8 uint16 uint32 uint64 uint128 float16 float32 float64 float96 float128 float256 complex32 complex64 complex128 complex192 complex256 complex512 datetime64 timedelta64

c-based names

bool_

object_

void, str_ , :None:None:`unicode_`

byte, ubyte, short, ushort intc, uintc, intp, uintp, :None:None:`int_`, uint, longlong, ulonglong,

single, csingle, :None:None:`float_`, :None:None:`complex_`, longfloat, clongfloat,

As part of the type-hierarchy: xx -- is bit-width

generic

+-> bool_ (kind=b) +-> number | +-> integer | | +-> signedinteger (intxx) (kind=i) | | | byte | | | short | | | intc | | | intp int0 | | | :None:None:`int_` | | | longlong | | \-> unsignedinteger (uintxx) (kind=u) | | ubyte | | ushort | | uintc | | uintp uint0 | | :None:None:`uint_` | | ulonglong | +-> inexact | +-> floating (floatxx) (kind=f) | | half | | single | | :None:None:`float_` (double) | | longfloat | \-> complexfloating (complexxx) (kind=c) | csingle (singlecomplex) | :None:None:`complex_` (cfloat, cdouble) | clongfloat (longcomplex) +-> flexible | +-> character | | str_ (:None:None:`string_`, bytes_ ) (kind=S) [Python 2] | | :None:None:`unicode_` (kind=U) [Python 2] | | | | bytes_ (:None:None:`string_`) (kind=S) [Python 3] | | str_ (:None:None:`unicode_`) (kind=U) [Python 3] | | | \-> void (kind=V) \-> object_ (not used much) (kind=O)

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/core/numerictypes.py#0
type: <class 'module'>
Commit: