[scilab-Users] fast 2D concatenation
Serge Steer
Serge.Steer at inria.fr
Fri Mar 9 18:00:31 CET 2012
Le 09/03/2012 16:47, David Chèze a écrit :
> Hello,
>
> i'm currently using the cat(1,,) function to concatenate large arrays of
> double of time series and it seems to run quite slow compared to other
> operations available on arrays in scilab.
> Is it a known limitation of this function and do we had better to do custom
> cat function with direct initialization of the array to the max size, then
> overwriting zero initialized part of the array with new read data ?
>
> Thanks for your help,
>
> David
>
> --
> View this message in context: http://mailinglists.scilab.org/fast-2D-concatenation-tp3813019p3813019.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
>
>
cat is a function that is quite generic. It allows to catenate any kind
of arrays in any direction. this explain it may be slow. For 2D arrays
It sould be more efficient to simply use brackets or initialization
followed by a sequence of assignments.
Serge Steer
INRIA
More information about the users
mailing list