get the index of the item with largest value in a coll?

Dec 20, 2011 at 8:58pm

get the index of the item with largest value in a coll?

If I have a coll of blob areas, and I find the largest area in the coll, how can I return that blob index?

#60779
Dec 20, 2011 at 10:21pm

Send “max” as a message to the coll, and it’ll output max value and corresponding index.

– Pasted Max Patch, click to expand. –
#218735

You must be logged in to reply to this topic.