[Scilab-users] Generating a boolean vector or matrix

Lamy Alain Alain.Lamy at cnes.fr
Thu Sep 5 08:55:11 CEST 2019


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.
There is a simple way to do the same :
repmat(%t, n, m)

Alain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190905/3b1aa5c3/attachment.htm>


More information about the users mailing list