mm.math.any¶
- math.any()¶
Returns
True
if any element of array isTrue
,False
otherwise.- Parameters:
array (
ndarray
[Tuple
[int
,...
],Union
[TypeVar
(R
,float16
,float32
,float64
),TypeVar
(C
,complex64
,complex128
),TypeVar
(Z
,int16
,int32
,int64
),TypeVar
(N
,uint16
,uint32
,uint64
)]]) – The array to check.- Return type:
bool
- Returns:
True
if any element of array isTrue
,False
otherwise.
code/api/mrmustard.math.any
Download Python script
Download Notebook
View on GitHub