Articles → Numpy → Fmin Function In Numpy
Fmin Function In Numpy
Purpose
Example
import numpy as np
print(np.fmin([2, 3, 4], [1, 5, 2]))
- Compares 2 and 1 and returns 1.
- Compares 3 and 5 and returns 3.
- Compares 4 and 2 and returns 2.
Output
Click to Enlarge