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

Home » Public Forums » archive » row calculation in a 2D array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
row calculation in a 2D array [message #12604] Tue, 25 August 1998 00:00 Go to previous message
Jonas is currently offline  Jonas
Messages: 23
Registered: May 1998
Junior Member
Probably a damn simple one, but anyway:

I want to perform the same operation on each sub-row in a 2D array.
Say I want to calculate the mean of element 4-7 in each row of a 10x10
array, and store the result in a 10 element-vector, where each element holds
the mean from the respective row

how is this done the smartest way, without using time-consuming loops?

sincerely
Jonas
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: how to find number of lines in an ASCII file?
Next Topic: Re: Variable Tick Scaling

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

Current Time: Fri Oct 10 07:24:51 PDT 2025

Total time taken to generate the page: 2.70187 seconds