Skip to main content

PTPRedux

Standard library class numpy.reductions.PTPRedux View source
class PTPRedux
class PTPRedux[T]
Fields 3
hi Optional[T]
lo Optional[T]
T type
Constructors 1
__init__
__init__(self: Self, **kwargs)
Defined in numpy.reductions
Methods 6
create
create[T: type](**kwargs)
Defined in numpy.reductions
accept
accept(self: Self, item: T, index: int)
Defined in numpy.reductions
result
result(self: Self, count: int) -> T
Defined in numpy.reductions
empty
empty(**kwargs)
Defined in numpy.reductions
done
done(self: Self)
Defined in numpy.reductions
loop
loop[partial: Literal[bool], S: type](self: Self, a: Ptr[S], n: int, stride: int)
Defined in numpy.reductions