help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ... makes a difference


From: Gorazd Brumen
Subject: Re: ... makes a difference
Date: Wed, 08 Mar 2006 14:27:14 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Dear all,

I think this compatibility with Matlab is sometimes driving
things the wrong way. I noticed it with the cell
arrays (i posted the mail a couple of weeks ago)
and here it is again. Some unlogical behavior for the
sake of compatibility with matlab. The reason I was given
then from John was that the code would be compiling
on both application (matlab and octave) with wrong
results on one. But what about the problem with users not using
Matlab having to debug the apparently illogical
behavior in octave?

Regards,
Gorazd


John W. Eaton wrote:
> On  7-Mar-2006, Peter Lempel Søndergaard wrote:
> 
> | Dear list,
> | 
> | typing 
> | 
> | [1,
> |  2]
> | 
> | in a script file gives
> | 
> | ans = 
> | 
> |   1
> |   2
> | 
> | while typing 
> | 
> | [1,...
> |  2]
> | 
> | gives
> | 
> | ans =
> | 
> |   1 2
> | 
> | In my mind, both examples should produce the second output.
> 
> But then Octave's behavior would be incompatible with Matlab, and
> other people would surely complain about that when code they try to
> port to Octave fails to work the same way it did in Matlab.
> 
> | Is this documented somewhere? I am using octave 2.1.72
> 
> If it is not documented, please help us by providing a patch to the
> Octave manual.  The likely location is the section on matrices, with a
> cross reference to the section on continuation lines.
> 
> Thanks,
> 
> jwe
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 
> 

-- 
Gorazd Brumen
Mail: address@hidden
WWW: http://valjhun.fmf.uni-lj.si/~brumen
PGP: Key at http://pgp.mit.edu, ID BCC93240



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]