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

Home » Public Forums » archive » newbie question on array manipulation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
newbie question on array manipulation [message #66291] Tue, 05 May 2009 04:40
jpardila is currently offline  jpardila
Messages: 2
Registered: May 2009
Junior Member
What is the best way to manipulate one array and remap its values
according to conditions?
Let's say I have a 2-d array, for all the elements equal to 5 I want
to change their values to 0. For values equal to 10 I want to convert
to 1 and so on. I am really confused and don't know if to use IF,
where, for or while. Thanks for answering this basic one.
JP
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: symsize in data units
Next Topic: Re: newbie question on array manipulation

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

Current Time: Wed Oct 08 15:57:47 PDT 2025

Total time taken to generate the page: 0.00587 seconds