[Scilab-Dev] vector^scalar allowed again in Scilab 6?

Samuel Gougeon sgougeon at free.fr
Fri Aug 5 17:24:03 CEST 2016


Hello,

The warning message about the vector^scalar operation yielded in Scilab 5.5
has been removed from Scilab 6.0, as if this operation would become 
again allowed instead of becoming actually forbidden:

Scilab 5:

-->x = 1:3
  x  =
     1.    2.    3.

-->x^2
     !
Warning: Syntax "vector ^ scalar" is obsolete. It will be removed in 
Scilab 6.0.
   Use "vector .^ scalar" instead.
  ans  =
     1.    4.    9.

Scilab 6.0.0-b2:
--> warning("on")

--> x = 1:3
  x  =
    1.   2.   3.

--> x^2
  ans  =
    1.   4.   9.

Is it on purpose? Is this shortcut restored?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20160805/50db875c/attachment.htm>


More information about the dev mailing list