[Scilab-users] vectorization : blocked
Paul Carrico
paul.carrico at free.fr
Mon Nov 26 11:48:30 CET 2012
Dear All
In a vectorization process, I noticed it is strongly recommended to use "^"
instead of "**" for vectorized calculation ..
Paul
###################################
mode(0)
A = rand(10,50);
B = rand(10,50);
C = A -B;
D = C.^2; -> ok
E = C. **2; -> error . as I did for "traditional" calculations ..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121126/8547dc28/attachment.htm>
More information about the users
mailing list