Hello
Le 22/07/2021 à 22:08, Stéphane Mottelet a écrit :
Hi all,
I thought indexing an array of rationals was possible. Likely this is
no possible and this is a pity
--> pi
pi =
θ +2θ²
----------
1 +4θ +3θ²
0.3333333θ
------------
0.3333333 +θ
0.3333333θ
------------
0.3333333 +θ
θ +2θ²
----------
1 +4θ +3θ²
--> pi(1)
ans =
"r" "num" "den" "dt"
Any clue, somebody ?
The special syntax pi(1,0) does it since 6.0.2, as documented @
https://help.scilab.org/docs/6.1.1/en_US/rational.html
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users