[Scilab-users] declaration of uint8 matrix

sgougeon at free.fr sgougeon at free.fr
Wed Mar 13 19:19:59 CET 2013


>../.. Maybe would it be a good idea to extend the syntax of uint8 (and others) like
ui=uint8(5,3) ?

Yes, such a feature would be useful. IMO it would be better to rather extend zeros(), 
ones(), and eye() with an optional input parameter "typeof" (text):

zeros(X, "uint8")
ones(m, n, p, "int16")
...

Samuel



More information about the users mailing list