[Scilab-users] Vectorization

Eduardo Torrecillas eduardo.torrecillas at gmail.com
Tue Feb 12 17:47:30 CET 2013


Hi Stéphane,

Maybe you could try to use external routines (C/FORTRAN) and link them to
Scilab with dynamic_link. They turn calculations much faster!

Regards,

On Tue, Feb 12, 2013 at 2:10 PM, Stéphane Bécu <
stephane.becu at maya-technologies.com> wrote:

>  Hello,
>
> I have much difficulty to optimize my calculation. It consists of
> calculating the variance of a vector over last N elements . See the example
> in the attached file for a 3D matrix. With a PC under windows 7 and scilab
> 5.3, it needs 40 sec to calculate the variance for a 10*10*1000
> matrix. This is too much long since I have much bigger files to work on.
>
> There must be a way to vectorize the problem but I do not see how ?
>
> Thanks in advance,
>
> Stéphane
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>


-- 
Eduardo Torrecillas
AER-09
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130212/abdcff45/attachment.htm>


More information about the users mailing list