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

Home » Public Forums » archive » Array containing maximum values for two arrays
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: Array containing maximum values for two arrays [message #86917 is a reply to message #86913] Thu, 12 December 2013 11:28 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Thursday, December 12, 2013 11:21:09 AM UTC-6, joel...@gmail.com wrote:
>
> Apologies, i've just realised that max(array, dimension=2) will do what i'm after.

Well, you could do that, assuming you're concatenating your two 1D arrays in to an nx2 array. But, a more efficient way is to use the maximum operator:

c = a > b
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How can I send commands from Java application to IDL application?
Next Topic: Problems with control the size of the lat-lon tick labels and the position of my colorbar

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

Current Time: Wed Oct 08 19:35:41 PDT 2025

Total time taken to generate the page: 0.00415 seconds