From: "David McClain" <dmcclain1@mindspring.com>
To: "caml" <caml-list@inria.fr>
Subject: [Caml-list] Array Indexing
Date: Sat, 31 Jul 2004 10:11:34 -0700 [thread overview]
Message-ID: <004d01c47721$72854820$0201a8c0@dylan> (raw)
I would like to offer up some blasphemous ideas in the world of
programming...
Array indexing has forever been dominated by the accountant's view that we
own only so much memory real estate and by golly your indexes into that
array better be within bounds.
But scientists realize that we live on a torus in this universe. Our arrays
are but a snapshot of the basic unit cell of a mapping that extends
infinetly in all directions. Hence array indices that extend beyond that
basic unit cell are merely referencing an identical twin array in the next
cell over. FFT's are used like pencils in this world, and our digitized
versions impose this torus mapping on us. Would that we could perform
non-digitized analysis and get perfect Fourier Transforms, but that isn't
reality.
I would like to suggest an additional option in BigArray, one of addressing
mode -- Accountant, and Scientist.
Lacking the Scientist mode means much excessive code for users, having to
check that arrays are within bounds, splitting the accesses that cross these
boundaries, etc. etc. The computer ought to be doing this tedium for us.
David McClain
Senior Corporate Scientist
Avisere, Inc.
+1.520.390.7738 (USA)
david.mcclain@avisere.com
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2004-07-31 17:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004d01c47721$72854820$0201a8c0@dylan' \
--to=dmcclain1@mindspring.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox