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

Home » Public Forums » archive » The usual vectorising headache
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
The usual vectorising headache [message #43788] Mon, 25 April 2005 06:44
Edd Edmondson is currently offline  Edd Edmondson
Messages: 50
Registered: January 2003
Member
I've ended up with a situation I'm having trouble vectorising effectively.
The operation I want to do is a

transpose(p)##q##p

where p is Array[4] q is Array[4,4]

Now I need to do this operation with a few tens of thousands of different
p's, so I've got actually got a p which is Array[bignum,4].

Obviously I want to vectorise it so I loop over 4s, rather than loop over
bignums if I have to loop at all, but I don't want to have to completely
specify the whole operation in individual 0,1,2,3 elements or the code
looks pretty unreadable (but I'll do that if necessary).

Anyone got any clever tricks I might use?

--
Edd
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Anatomic object graphic in IDL
Next Topic: Re: The usual vectorising headache

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

Current Time: Sat Oct 11 16:03:01 PDT 2025

Total time taken to generate the page: 2.80349 seconds