Skip to main content

numpy.ufunc

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