Re: [Scilab-users] convert vector to list

2021-02-19 Thread Samuel Gougeon
Le 18/02/2021 à 19:34, Federico Miyara a écrit : Dear All, Is there a Scilab function to convert a vector to a list? If x is a vector, this code L = list(); for n=1:length(x)     L(n) = x(n); end seems to work, but it would be nice to have a primitive doing this more efficiently. I don't

Re: [Scilab-users] convert vector to list

2021-02-18 Thread Claus Futtrup
He he Sometimes the answer is so 'obvious' ... it's just that the user never heard about it before. Myself included. /Claus On 18-02-2021 19:37, Stéphane Mottelet wrote: vec2list() ? Le 18/02/2021 à 19:34, Federico Miyara a écrit : Dear All, Is there a Scilab function to convert a

Re: [Scilab-users] convert vector to list

2021-02-18 Thread Stéphane Mottelet
vec2list() ? Le 18/02/2021 à 19:34, Federico Miyara a écrit : Dear All, Is there a Scilab function to convert a vector to a list? If x is a vector, this code L = list(); for n=1:length(x)     L(n) = x(n); end seems to work, but it would be nice to have a primitive doing this more

[Scilab-users] convert vector to list

2021-02-18 Thread Federico Miyara
Dear All, Is there a Scilab function to convert a vector to a list? If x is a vector, this code L = list(); for n=1:length(x)     L(n) = x(n); end seems to work, but it would be nice to have a primitive doing this more efficiently. I don't seem to be able to find it. Regards, Federico