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

Home » Public Forums » archive » Re: Avoid loop in matrix 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
Re: Avoid loop in matrix operation [message #49196 is a reply to message #49195] Fri, 07 July 2006 12:09 Go to previous messageGo to previous message
George N. White III is currently offline  George N. White III
Messages: 56
Registered: September 2000
Member
On Thu, 6 Jul 2006, JD Smith wrote:

> So how about a new function, called APPLY/COLLAPSE/REDUCE/whatever,
> which takes an array, a generic function (which accepts an array or
> vector argument and returns an array/vector/scalar with one fewer
> dimensions), and a dimension over which to apply that function. Then
> it runs through in a *tight* loop, applying that function and
> collating the results into a return array, with a minimum of loop
> overhead.

Other matrix languages have had this for years -- how far behind can IDL
stay without going backwards?

People following this thread might want to look at Matlab's recent
implementation of new functions to vectorize operations over heterogeneous
arrays and structures, described in
< http://www.mathworks.com/company/newsletters/digest/2006/mar /vector.html>

--
George N. White III <aa056@chebucto.ns.ca>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IVolume/isosurface
Next Topic: Re: How can I display truecolor image on a map?

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

Current Time: Fri Oct 10 20:26:10 PDT 2025

Total time taken to generate the page: 0.16028 seconds