Skip to main content

numpy.dtype

Standard library Module View source
alias int8
int8 = Int[8]
Alias of Int[8]
alias int16
int16 = Int[16]
Alias of Int[16]
alias int32
int32 = Int[32]
Alias of Int[32]
alias int64
int64 = int
Alias of int
alias uint8
uint8 = UInt[8]
Alias of UInt[8]
alias uint16
uint16 = UInt[16]
Alias of UInt[16]
alias uint32
uint32 = UInt[32]
Alias of UInt[32]
alias uint64
uint64 = UInt[64]
Alias of UInt[64]
alias intp
intp = int64
Alias of int64
alias uintp
uintp = uint64
Alias of uint64
alias float64
float64 = float
Alias of float
alias complex128
complex128 = complex
Alias of complex
alias bool_
bool_ = bool
Alias of bool
alias byte
byte = u8
Alias of u8
alias ubyte
ubyte = uint8
Alias of uint8
alias short
short = int16
Alias of int16
alias ushort
ushort = uint16
Alias of uint16
alias intc
intc = int32
Alias of int32
alias uintc
uintc = uint32
Alias of uint32
alias int_
int_ = int64
Alias of int64
alias uint
uint = uint64
Alias of uint64
alias longlong
longlong = int64
Alias of int64
alias ulonglong
ulonglong = uint64
Alias of uint64
alias single
single = float32
Alias of float32
alias double
double = float
Alias of float
alias longdouble
longdouble = float
Alias of float
alias csingle
csingle = complex64
Alias of complex64
alias cdouble
cdouble = complex
Alias of complex
alias clongdouble
clongdouble = complex
Alias of complex
alias float_
float_ = double
Alias of double
alias complex_
complex_ = cdouble
Alias of cdouble
alias longfloat
longfloat = longdouble
Alias of longdouble
alias singlecomplex
singlecomplex = csingle
Alias of csingle
alias cfloat
cfloat = cdouble
Alias of cdouble
alias longcomplex
longcomplex = clongdouble
Alias of clongdouble
alias clongfloat
clongfloat = clongdouble
Alias of clongdouble
class finfo
@tuple
class finfo[dtype]
Fields 1
dtype type
Constructors 2
__new__
__new__(x)
__new__
__new__[dtype: type]()
Properties 17
bits
@property
bits(self: Self)
iexp
@property
iexp(self: Self)
machep
@property
machep(self: Self)
maxexp
@property
maxexp(self: Self)
minexp
@property
minexp(self: Self)
negep
@property
negep(self: Self)
nexp
@property
nexp(self: Self)
nmant
@property
nmant(self: Self)
precision
@property
precision(self: Self)
eps
@property
eps(self: Self)
epsneg
@property
epsneg(self: Self)
max
@property
max(self: Self)
min
@property
min(self: Self)
resolution
@property
resolution(self: Self)
smallest_normal
@property
smallest_normal(self: Self)
smallest_subnormal
@property
smallest_subnormal(self: Self)
tiny
@property
tiny(self: Self)
Special methods 2
__repr__
__repr__(self: Self)
__str__
__str__(self: Self)
class iinfo
@tuple
class iinfo[dtype]
Fields 1
dtype type
Constructors 2
__new__
__new__(x)
__new__
__new__[int_type: type]()
Properties 3
bits
@property
bits(self: Self)
min
@property
min(self: Self)
max
@property
max(self: Self)
Special methods 2
__repr__
__repr__(self: Self)
__str__
__str__(self: Self)