[PD] Index of the maximum value in a list

Miller Puckette msp at ucsd.edu
Tue Apr 14 06:05:28 CEST 2015

You can store the numbers in an array (using the [array set] object) and
then use [array max] to find the maximum value.


On Mon, Apr 13, 2015 at 07:00:42PM -0400, Pierre Desprats wrote:
> Hi,
> it would be really helpfull if someone had patched something to obtain the
> index of the maximum value in a list,
> Or maybe a [max] object with more than 2 inputs ?
> Thx,
> P.
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list