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

Home » Public Forums » archive » Help
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: Help [message #15494 is a reply to message #5724] Wed, 26 May 1999 00:00 Go to previous messageGo to previous message
Vapuser is currently offline  Vapuser
Messages: 63
Registered: November 1998
Member
"R.Bauer" <R.Bauer@fz-juelich.de> writes:

Very slick!

William

> I like to use matrix operations:
>
> a=[1, -1, 1, -1, 1, -1, 1, -1]
> b=[-1, 1, -1, 1, -1, 1, -1, 1]
>
> res=a#b
> print,res gt 0
>
> Cia,
>
> R
>
>
> Tri VU KHAC wrote:
>
>> Hi folks,
>>
>> I'm looking for an efficient way to produce the matrix of type (I woulk
>> like to be able to avoid the FOR statement)
>>
>> 0 1 0 1 0 1 0 1
>> 1 0 1 0 1 0 1 0
>> 0 1 0 1 0 1 0 1
>> 1 0 1 0 1 0 1 0
>>
>> OR
>>
>> 1 0 0 1 0 0 1
>> 0 1 0 0 1 0 0
>> 0 0 1 0 0 1 0
>> 1 0 0 1 0 0 1
>>
>> ETC.
>>
>> Best regards,
>> Tri.
>

--
William Daffer: 818-354-0161: vapuser@catspaw.jpl.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Point data
Next Topic: JOIN POINTS IN A PLOT

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

Current Time: Wed Oct 08 19:31:31 PDT 2025

Total time taken to generate the page: 0.00377 seconds