Hello devs,

eye() builds a very specific object, of size [-1,-1].

In the Bugzilla report http://bugzilla.scilab.org/16060 ,

 * I show that the added value of this specific object looks very poor
   with respect to the complexity and specific processing it requires
   in the code.

 * An idea is presented to replace eye() with a new predefined constant
   %eye = 1:0*$:1
   as a true implicitlist object,

 * and shows on some examples how it can easily work instead of eye().

IMO, in order to simplify Scilab code without removing any feature, the eye() syntax and object should be deprecated and replaced. Indeed, i think that setting negative sizes is a rather bad way to encode such an object.

Looking forward to read you,

Regards
Samuel

PS: IMO we should take a special care about what we do with implicitlist objects, how we use and make them evolving. They look rather underexploited. So, anticipating other possible extended usages would be wise.


_______________________________________________
dev mailing list
dev@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to