klyn.math.NDArray.min
method
public min() as Object:
Description

Returns the minimum value of the array.

Returns

The first element having the minimum value.

Throws
  • ValueException if the array is empty or its numeric type is not ordered.
Example
a = NDArray<Int>.fromList([3, 1, 4])
print(a.min())  # 1