pydims.all#

pydims.all(x, /, *, dim=None, **kwargs)[source]#

Test whether all elements are true along one or multiple dimensions.

Parameters:
  • x (TypeVar(DimArr, bound= DimensionedArray)) – Input array

  • dim (Hashable | tuple[Hashable, ...] | None, default: None) – Dimension or dimensions along which to perform a logical AND reduction.

Returns:

TypeVar(DimArr, bound= DimensionedArray) – Result array