Le 05/09/2019 à 08:55, Lamy Alain a écrit :
Hi,
I’m not convinced the new syntax: ones(n, m, “boolean”) is a good idea
or is necessary because it makes “integer” (“constant”) and “boolean”
2 identical types.
Sorry Alain can you explain it further ?
There is a simple way to do the same :
repmat(%t, n, m)
Yeah, there are many other (ineficient) ways, but the average user would
appreciate to have one and only one function (here "zeros") to
initialize a matrix regardless is type.
Alain
_______________________________________________
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users