First time here? Check out the FAQ!
answered 2016-11-01 07:24:18 -0600
minMaxLoc
updated 2016-11-01 07:25:46 -0600
please do not write loops like that at all, instead use the builtin minMaxLoc