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

Home » Public Forums » archive » Matrix expansion performance
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Matrix expansion performance [message #43274] Mon, 28 March 2005 04:37 Go to previous message
Ricardo Bugalho is currently offline  Ricardo Bugalho
Messages: 22
Registered: March 2005
Junior Member
Hi,
I have a matrix A (m,n) is and I want to create a matrix B(m,n,p) such that
each B(*,*,i) slice equals A. p is very large and n is usually smaller than
m so I have:

B=bytArr(m,n,p)
C=byteArr(p) + 1
FOR i = 0, n-1 DO B[*,i,*] = REFORM(A[*,i]) # p

Quite fast, but not enough for my needs. Any one has better sugestions?

Still stuck in IDL 5.4, by the way.

Thanks,
Ricardo
[Message index]
 
Read Message
Read Message
Previous Topic: IDLWAVE Manuals: Your Support Needed
Next Topic: Re: C Alignment/IDL structures

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

Current Time: Wed Oct 08 17:34:58 PDT 2025

Total time taken to generate the page: 0.00446 seconds