[Jprogramming] index origin 0
Björn Helgason
gosinn at gmail.com
Wed Jul 28 18:23:31 HKT 2010
Here is an interesting definition of the origin of 0
http://en.wikipedia.org/wiki/0_(number)
Rules of Brahmagupta is interesting
Zero divided by zero is zero.
2010年7月28日 bill lam <bbill.lam at gmail.com>:
> In that case I would imagine index origin 0 can be extended to
> negative indexing, while origin 1 cannot (without causing abnormality)
> if the intend of index origin 1 is to disallow position 0.
>> Втр, 27 Июл 2010, Roger Hui писал(а):
>> > How does APL interpret negative index for either index origin?
>>>> No APL I know of implements negative indexing.
>> It would be a consistent extension because it'd
>> replace an error with a result.
>>>>>> ----- Original Message -----
>> [---=| TOFU protection by t-prot: 30 lines snipped |=---]
>> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008年08月24日
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gosinn at gmail.com
gsm: +3546985532
sími: +3544781286
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=) ♖♘♗♕♔♙
`. )----' (")_(") ☃☠
More information about the Programming
mailing list