Re: [Scilab-users] Confusion about types (typeof vs. Variabe Browser)

2019-12-05 Thread Stéphane Mottelet
Le 05/12/2019 à 23:26, Samuel Gougeon a écrit : Le 04/12/2019 à 13:30, Stéphane Mottelet a écrit : Hello, The name "constant" has been kept to ensure backwards compatibililty. But frankly, sometimes legacy really sucks ! To me, "constant" should be replaced everywhere by "double" to suppr

Re: [Scilab-users] Confusion about types (typeof vs. Variabe Browser)

2019-12-05 Thread Samuel Gougeon
Le 04/12/2019 à 13:30, Stéphane Mottelet a écrit : Hello, The name "constant" has been kept to ensure backwards compatibililty. But frankly, sometimes legacy really sucks ! To me, "constant" should be replaced everywhere by "double" to suppress this confusion. The argument that it would bre

Re: [Scilab-users] Confusion about types (typeof vs. Variabe Browser)

2019-12-05 Thread Samuel Gougeon
Le 29/11/2019 à 06:57, Federico Miyara a écrit : Dear all, I'm trying to elucidate some details regarding types. The most basic type, corresponding to real or complex decimal numbers (or vectors, matrices and hypermatrices with this kind of components) is called "constant" by the function ty

Re: [Scilab-users] cell and cell array

2019-12-05 Thread Samuel Gougeon
Le 05/12/2019 à 22:23, Federico Miyara a écrit : Dear all, 1) Are "cell" and "cell array" the same concept? Yes. A cell is a 1x1 cell array, a "scalar" cell. 2) Or is a cell just a component of a cell array? Yes, as well. 3) Would it be correct to say that a cell is a container of

[Scilab-users] cell and cell array

2019-12-05 Thread Federico Miyara
Dear all, 1) Are "cell" and "cell array" the same concept? 2) Or is a cell just a component of a cell array? 3) Would it be correct to say that a cell is a container of any other data type? Some authors, such as https://www.cse.iitb.ac.in/~sohoni/TD604/sundry/Scilab_Tutorial.pdf don't eve

Re: [Scilab-users] question on makecell

2019-12-05 Thread Samuel Gougeon
Le 05/12/2019 à 14:25, Federico Miyara a écrit : Dear all, When using makecell such as in --> u = makecell([2 2], cos, 'hello', 1+%s^2, [1 2; 3 4])  u  =   [  1 fptr  ]  [1x1 string  ]   [1x1 polynomial]  [2x2 constant] we get a cell array where the unidimensional ordering of the cells

Re: [Scilab-users] question on makecell

2019-12-05 Thread Stéphane Mottelet
Le 05/12/2019 à 14:25, Federico Miyara a écrit : Dear all, When using makecell such as in --> u = makecell([2 2], cos, 'hello', 1+%s^2, [1 2; 3 4])  u  =   [  1 fptr  ]  [1x1 string  ]   [1x1 polynomial]  [2x2 constant] we get a cell array where the unidimensional ordering of the cells

[Scilab-users] question on makecell

2019-12-05 Thread Federico Miyara
Dear all, When using makecell such as in --> u = makecell([2 2], cos, 'hello', 1+%s^2, [1 2; 3 4])  u  =   [  1 fptr  ]  [1x1 string  ]   [1x1 polynomial]  [2x2 constant] we get a cell array where the unidimensional ordering of the cells goes first along columns and then ows. However, wh