Re: [Scilab-users] for-loop error

2020-10-29 Thread Wozai
--> int8(8)*18 ans = -112 -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Exclamation mark in variable names

2018-05-27 Thread Wozai
Dear Samuel, my point is, it wasn't possible to execute "!A=1" in Scilab 5.x (without prepending a space) and IMHO one should really *improve* the situation in Scilab 6, rather than just restoring the status quo. Cheers, Wozai -- Sent from: http://mailinglists.scilab.org/Sc

Re: [Scilab-users] Exclamation mark in variable names

2018-05-27 Thread Wozai
e, and assuming, that the user prepends a space in front of expressions like "!A=1" to get them executed in the Java console? My conclusion: if both features are going to be kept, then the clash wrt "!" should be resolved ASAP, anyhow. Cheers, Wozai -- Sent from: http://mailingli

Re: [Scilab-users] Exclamation mark in variable names

2018-05-25 Thread Wozai
Hi, I think it should be possible to execute things like "!A=123" in the Java Console. Cheers, Wozai -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scila

Re: [Scilab-users] Exclamation mark in variable names

2018-05-25 Thread Wozai
20> 2. Fixes Parser to Accept "!" in Variable Names <https://github.com/rdbyk/balisc/pull/323> Of course the downside of this fixing approach would be, that your code only works in "your" Scilab. Cheers, Wozai -- Sent from: http://mailinglists.scilab.o

Re: [Scilab-users] any suggestion to make my Scilab code faster would be welcome:

2018-05-16 Thread Wozai
Hi, A very similar problem was discussed here <http://mailinglists.scilab.org/Scilab-users-need-a-more-efficient-and-faster-code-suggestions-welcome-tc4037482.html#a4037515> in length. You'll find there numerous hints how to make your code faster. Cheers Wozai -- Sent from:

Re: [Scilab-users] Problem with solving this elegantly

2018-02-27 Thread Wozai
Hi, [R,diagevals]=spec(A) Cheers, wozai -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] {EXT} need a more efficient and faster code: suggestions welcome

2018-02-01 Thread Wozai
)); X = [radsintheta.*cos(phi),radsintheta.*sin(phi), radius.*costheta]; ONE=ones(n,1); NAN=[%nan,%nan,%nan]; SUM=[1;1;1]; MinDist=zeros(1,n); for i=1:n; XX = X; XX(i,:) = NAN; DIFF = XX - ONE*X(i,:); MinDist(i) = sqrt(min((DIFF.*DIFF)*SUM)); end; Cheers, wozai -- Sent from