[Scilab-users] vector operation replacing for loop

Heinz Nabielek heinznabielek at me.com
Thu Nov 8 21:34:00 CET 2018


Thanks

> On 08.11.2018, at 21:04, Samuel Gougeon <sgougeon at free.fr> wrote:
> 
> Le 08/11/2018 à 20:24, Heinz Nabielek a écrit :
>> Great. Thanks. Should have thought of it myself...
>> 
>> Still: is there a vector way?
> 
> Didn't you read Guylaine's answer?
> She proposes a tricky algorithm. Unfortunately, it cannot be used for very long Z input, due to memory considerations.
> I am afraid that there is no other better "vectorized" solution.
> 
> This is why a builtin function like filter() -- that aims to do what you want -- is required.
> 
> BR
> 
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users




More information about the users mailing list