Skip to main content

BinaryUFunc

Standard library class numpy.ufunc.BinaryUFunc View source
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)]
Defined in numpy.ufunc
Properties 2
nin
@property
nin(self: Self)
Defined in numpy.ufunc
nout
@property
nout(self: Self)
Defined in numpy.ufunc
Methods 4
reduce
reduce[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, array, axis = 0, out = None, initial = util._NoValue(), where = True)
Defined in numpy.ufunc
accumulate
accumulate[dtype: type = NoneType](self: Self, array, axis: int = 0, out = None)
Defined in numpy.ufunc
at
at(self: Self, a, indices, b)
Defined in numpy.ufunc
outer
outer[dtype: type = NoneType](self: Self, A, B)
Defined in numpy.ufunc
Special methods 4
__call__
__call__[dtype: type = NoneType](self: Self, x, y, out = None, where = True)
Defined in numpy.ufunc
__to_gpu__
__to_gpu__(self: Self, cache: gpu.AllocCache)
Added by numpy.ndgpu
__from_gpu__
__from_gpu__(self: Self, other: BinaryUFunc)
Added by numpy.ndgpu
__from_gpu_new__
__from_gpu_new__(other: BinaryUFunc)
Added by numpy.ndgpu