From bug-octave-request at bevo dot che dot wisc dot edu Sun Nov 28 08:52:03 1999 Subject: Re: not compatable with Matlab (matrix problem) From: Mirek Kwasniak To: Rafael Laboissiere Cc: Dirk Eddelbuettel , Shengchao Li , bug-octave@bevo.che.wisc.edu Date: Sun, 28 Nov 1999 15:50:57 +0100 On Sun, Nov 28, 1999 at 02:50:27PM +0100, Rafael Laboissiere wrote: [...] > I do not think so. The above expression groups syntactically like: > > [(a (1+1))*(b)] > > It is totally normal that it does not work. Braindead Matlab (v. 5.2) gives > different results for the following expressions: > > [a(1+1) *b] > [a (1+1)*b] > > which is an unacceptable situation, because the semantics of expressions > should not depend on the place of white spaces. I vote for not changing the > behavior of Octave. OK, I never had used "a (index)" - always "a(index)" and I don't know about it. To be shure we should ever use notation "[ a , b ]" not "[ a b ]", maybe the latest shoulbe disallowed? Mirek ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------