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

Home » Public Forums » archive » Code optimization
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Code optimization [message #75145] Wed, 16 February 2011 12:38 Go to previous message
kisCA is currently offline  kisCA
Messages: 78
Registered: January 2011
Member
Hi there,

I am trying, if it's possible to write thes lines in matrix formalism
but it seems a bit tricky for me.

FOR I=1,NUM DO BEGIN
SUMI=0.
FOR K=1,M1 DO BEGIN
FOR J=1,M1 DO BEGIN
SUMI=SUMI+COV(J-1,K-1)*CS(J-1,I-1)*CS(K-1,I-1)
ENDFOR
ENDFOR
VAR_ALPHA(I-1)=SUMI*VAR_FACTOR(I-1)
ENDFOR

Is anyone got an idea it will be welcome

Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: working on multiple z buffers at once?
Next Topic: Ps_start and Ps_end

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

Current Time: Wed Oct 08 15:34:35 PDT 2025

Total time taken to generate the page: 0.00401 seconds