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

Home » Public Forums » archive » A simple vector - array operation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
A simple vector - array operation [message #70905] Wed, 12 May 2010 08:10
francois[1] is currently offline  francois[1]
Messages: 3
Registered: October 2007
Junior Member
Hello,
Let say that I have an array A of 25 columns by 100 lines and a vector
V of 25 elements.
I want that each line of A takes the value of V such that:
for i=0, 99 do begin
A[i,*] = V
endfor

What would be a fast way of doing this without using the FOR loop ?

Thank you,

Francois.
[Message index]
 
Read Message
Previous Topic: SST data
Next Topic: Re: A simple vector - array operation

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

Current Time: Wed Oct 08 18:12:12 PDT 2025

Total time taken to generate the page: 0.00450 seconds