help-octave
[Top][All Lists]
Advanced

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

Re: origin of the index syntax


From: Francesco Potorti`
Subject: Re: origin of the index syntax
Date: Tue, 28 Jun 2005 20:19:44 +0200

>> I meant to ask this: If I want to take a slice of a multidimensional
>> array, I can express it as [1:10, 3, 0.1, [3 6], :].  Is there a common
>> name for this kind of syntax?
>
>I think that has its origins in fortran (I'm positive that it's part of 
>fortran 90), so you could say it's fortran style, but that doesn't sound 
>like quite what you're looking for.

In fact, this is exactly what I am looking for!

But do you really mean that this is part of Fortran 90?  I mean, that an
index can be either number, or an interval, or even a literal array
written in the form [3 6]?

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 313 8091
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
Web: http://fly.isti.cnr.it/           Key:   fly.isti.cnr.it/public.key



-------------------------------------------------------------
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]