[PD] Index of the maximum value in a list

Pierre Desprats pierre.desprats2 at gmail.com
Tue Apr 14 17:43:39 CEST 2015


Perfect ! Thanks a lot,

P.
Le 14/04/15 00:05, Miller Puckette a écrit :
> You can store the numbers in an array (using the [array set] object) and
> then use [array max] to find the maximum value.
>
> cheers
> Miller
>
> 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