help-octave
[Top][All Lists]
Advanced

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

Re: operation x=x(:)


From: John W. Eaton
Subject: Re: operation x=x(:)
Date: Wed, 5 May 1999 16:17:16 -0500 (CDT)

On  5-May-1999, Wonkoo Kim <address@hidden> wrote:

| However, x = x(:) does not convert a row vector to a column vector
| (Octave 2.0.13 for OS/2).  Though I don't mind this, but the 
| original poster would, as this is a different behavior from Matlab.

I thought that the code had been changed so that it always returned a
column vector.  Actually, it was changed so that a single colon index
would always work, but you still need to set do_fortran_indexing to 1
to make it always return a column vector.

Perhaps this could be `fixed' for 2.1.x so that it always does the
Matlab-compatible thing.  Does anyone have a strong opinion either
way?

Thanks,

jwe



reply via email to

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