public min(ignoreNaN as Boolean = false, where as Boolean[] = null) as Object
Returns the minimum value of the array.
| Parameter | Description |
|---|---|
ignoreNaN | Skip NaNs; otherwise retain the existing first-value comparison contract. |
where | Optional flat Boolean mask, one entry per input element. |
The first element having the minimum value.
a = NDArray<Int>([3, 1, 4]) print(a.min()) # 1