help-octave
[Top][All Lists]
Advanced

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

Re: Question about Range class


From: Robert A. Macy
Subject: Re: Question about Range class
Date: Tue, 22 Nov 2005 21:06:14 -0800

It has been difficult for me to break the "for loop"
structure.  Just so easy to think in sequential terms.  

           - Robert -

On Tue, 22 Nov 2005 23:48:50 -0500
 "John W. Eaton" <address@hidden> wrote:
> On 22-Nov-2005, Robert A. Macy wrote:
> 
> | Just curious, why is the order of the arguments...
> |   Range r (0.0, 10.0, 0.1);  // base, limit, increment
> | ...and not...
> |   Range r (0.0, 0.1, 10.0);  // base, increment, limit
> | ...to keep a similar order of arguments in octave's...
> |   z = [ 0 : 0.1 : 10 ] 
> | ...?
> 
> Why not?  It seemed more natural to me at the time.
>  Probably I was
> still braindamaged by Fortran's DO loop syntax.
> 
> 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
-------------------------------------------------------------



reply via email to

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