help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speedup/Refaktoring loop? Extended...


From: Andreas Romeyke
Subject: Re: Speedup/Refaktoring loop? Extended...
Date: Wed, 27 Aug 2008 16:10:16 +0200

Hello,

>     a=transpose(U) * X;
>     b=transpose(U) * U * V;
>     V=V .* a ./ b;
>     a=X * transpose(V);
>     b=U * V * transpose(V);
>     U=U .* a ./ b;

BTW, could anyone describe why Matlab 7.3 runs 4 times faster than
Octave 3.02 in this piece of code? AFAIK both programs uses the
Altlas/Lapack libraries. And the code is fully vectorized here.

Could you explain the difference?

Bye Andreas


-- 
Software Developer / Dipl. Inform. (FH)
Max Planck Institute for Human Cognitive and Brain Sciences
Department of Psychology
Stephanstr. 1a, 04103 Leipzig, Germany

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]