Is there a version of `findmin` that allows passing in an arbitrary comparison operator?
In throw-away code, I often have an array containing tuples of both the result and some additional operator. I want to find the minimum and its location, but want to ignore the additional information. I would like to use a user-defined comparison operator that looks only at one of the tuple elements, yet `findmin` doesn't seem to offer this. -erik -- Erik Schnetter <[email protected]> http://www.perimeterinstitute.ca/personal/eschnetter/
