numpy.ufunc

Standard library module View source
function decide_types
decide_types(x, y, dtype: type)
function decide_types_copysign
decide_types_copysign(x, y, dtype: type)
function decide_types_ldexp
decide_types_ldexp(x, y, dtype: type)
class UnaryUFunc
@tuple
class UnaryUFunc[__name__, F]
Fields 1
F type
Constructors 1
__new__
__new__(op: F, name: Literal[str], F: type)
Properties 2
nin
@property
nin(self)
nout
@property
nout(self)
Methods 1
at
at(self, a, indices)
Special methods 1
__call__
__call__(self, x, out = None, where = True, dtype: type = NoneType)
class UnaryUFunc2
@tuple
class UnaryUFunc2[__name__, F]
Fields 1
F type
Constructors 1
__new__
__new__(op: F, name: Literal[str], F: type)
Properties 2
nin
@property
nin(self)
nout
@property
nout(self)
Special methods 1
__call__
__call__(self, x, out1 = None, out2 = None, out = None, where = True)
class BinaryUFunc
@tuple
class BinaryUFunc[__name__, F, I]
Fields 3
identity I
F type
I type
Constructors 1
__new__
__new__(op: F, name: Literal[str], identity: I = None, F: type, I: type)
Properties 2
nin
@property
nin(self)
nout
@property
nout(self)
Methods 4
reduce
reduce(self, array, axis = 0, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = util._NoValue(), where = True)
accumulate
accumulate(self, array, axis: int = 0, dtype: type = NoneType, out = None)
at
at(self, a, indices, b)
outer
outer(self, A, B, dtype: type = NoneType)
Special methods 1
__call__
__call__(self, x, y, out = None, where = True, dtype: type = NoneType)