comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to get the index of the maximum element in each row for a 2D matrix efficiently
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to get the index of the maximum element in each row for a 2D matrix efficiently [message #36295 is a reply to message #36290] Fri, 29 August 2003 15:23 Go to previous messageGo to previous message
xje4e is currently offline  xje4e
Messages: 18
Registered: February 2002
Junior Member
> Starting with v5.6, MAX will do this for you with its own DIMENSION
> keyword. Remember that in IDL dimensions start, perversely, with 1,
> as opposed to everything else, which is 0 based. As of now we can
> thread the following:
>
> TOTAL
> PRODUCT
> MIN
> MAX
> MEDIAN
>
> The only remaining operators I wish could be dimensionally threaded
in
> this way are AND, OR, and especially the new && and ||
> short-circuiting ops.
>
> JD

Oh, Yeah! Finally they did it, although it has been implemented in
matlab for a long time. And I found it in IDL 5.5 in ENVI3.5 too.

Cheers,

Jin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: mpeg resolution in MS-Windows
Next Topic: Re: iTools questions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:41:06 PDT 2025

Total time taken to generate the page: 0.00451 seconds