and can return both the value of `min` and `argmin` at the same time.