Yes, definitely std::min_element.
If there are negative values then with a compare function that takes the abs() for comparison
Cheers,
_
Yes, definitely std::min_element.
If there are negative values then with a compare function that takes the abs() for comparison
Cheers,
_
Bookmarks