Re: [Scilab-Dev] list as output in function call

2019-04-24 Thread Samuel Gougeon
Le 24/04/2019 à 10:07, Samuel Gougeon a écrit : .../... For the general discussion, i think that, from a user's point a view, when using a container as LHS argument, a distributive assignment would be *often* very useful. It might be either through a new *.=* "operator", or through the classi

Re: [Scilab-Dev] list as output in function call

2019-04-24 Thread Samuel Gougeon
Le 24/04/2019 à 09:25, Antoine ELIAS a écrit : Le 23/04/2019 à 22:50, Samuel Gougeon a écrit : Hello, Le 23/04/2019 à 22:28, Antoine ELIAS a écrit : .../... Just a question, specific to ndgrid, why do not update the function to return a list in case of nargout == 1 ? You likely mean as a u

Re: [Scilab-Dev] list as output in function call

2019-04-24 Thread Antoine ELIAS
Le 23/04/2019 à 22:50, Samuel Gougeon a écrit : Hello, Le 23/04/2019 à 22:28, Antoine ELIAS a écrit : Hello Stéphane, Just to be sure, you want that we fill the X-list with all outputs of ngdrid. Following witch information, size(X) or size(outputs) ? In your cas I suppose that the size is t

Re: [Scilab-Dev] list as output in function call

2019-04-24 Thread Antoine ELIAS
Le 23/04/2019 à 22:46, Stéphane Mottelet a écrit : Le 23/04/2019 à 22:28, Antoine ELIAS a écrit : Hello Stéphane, Just to be sure, you want that we fill the X-list with all outputs of ngdrid. Following witch information, size(X) or size(outputs) ? In your cas I suppose that the size is the s

Re: [Scilab-Dev] list as output in function call

2019-04-23 Thread Samuel Gougeon
Hello, Le 23/04/2019 à 22:28, Antoine ELIAS a écrit : Hello Stéphane, Just to be sure, you want that we fill the X-list with all outputs of ngdrid. Following witch information, size(X) or size(outputs) ? In your cas I suppose that the size is the same. What append if X is not a list or does n

Re: [Scilab-Dev] list as output in function call

2019-04-23 Thread Stéphane Mottelet
Le 23/04/2019 à 22:28, Antoine ELIAS a écrit : Hello Stéphane, Just to be sure, you want that we fill the X-list with all outputs of ngdrid. Following witch information, size(X) or size(outputs) ? In your cas I suppose that the size is the same. What append if X is not a list or does not have

Re: [Scilab-Dev] list as output in function call

2019-04-23 Thread Antoine ELIAS
Hello Stéphane, Just to be sure, you want that we fill the X-list with all outputs of ngdrid. Following witch information, size(X) or size(outputs) ? In your cas I suppose that the size is the same. What append if X is not a list or does not have the good size ? Some functions that returns mul