|
From: | Pedro Antonio Fructuoso Merino |
Subject: | Re: Question about Range class |
Date: | Wed, 23 Nov 2005 08:53:16 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Hi, Robert A. Macy escribió:
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 ] ...?
I think that it has this order because you can do Range r (0.0, 10.0); // base, limit,without increment so when yo do Range r (0.0,10.0, 0.1); is more natural put the increment to the end. Regards, Pedro ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |