Article View: comp.lang.misc
Article #200Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays)
From: Raul Deluth Miller-Rockwell
Date: Tue, 14 Apr 1992 06:27
Date: Tue, 14 Apr 1992 06:27
27 lines
1562 bytes
1562 bytes
Jim Giles:
|> [... Very long example demonstrating exactly why I dislike J ...]
In fact, I don't see any reason for further comment on this
particular issue.
Indeed.
And yet, you've never presented any high-level requirement for that
particular operation.
Lacking further details, might I propose an alternate approach? This
would be to predefine the mesh selection operation and use an
expression of the form:
F OddMesh{ F EvenMesh{ M
Note that F, OddMesh and EvenMesh can be defined as constants. By the
way, OddMesh and EvenMesh are index specifications, and '{' is the
index operator. F is a function which, when applied to a mesh, yields
the "next state" of array M.
Obviously, the declarations for F, OddMesh and EvenMesh would need to
depend on the particular problem of interest.
--
Raul Deluth Miller-Rockwell <rockwell@socrates.umd.edu>
Technical Details
Message-ID:
<ROCKWELL.92Apr14012738@socrates.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwellReferences:
<ROCKWELL.92Mar21001252@socrates.umd.edu> <ROCKWELL.92Apr11011857@socrates.umd.edu> <1992Apr13.175100.3711@newshost.lanl.gov>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwell From: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell) Subject: Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays) In-Reply-To: jlg@cochiti.lanl.gov's message of 13 Apr 92 17:51:00 GMT Message-ID: <ROCKWELL.92Apr14012738@socrates.umd.edu> Sender: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell) Organization: Traveller References: <ROCKWELL.92Mar21001252@socrates.umd.edu> <ROCKWELL.92Apr11011857@socrates.umd.edu> <1992Apr13.175100.3711@newshost.lanl.gov> Date: Tue, 14 Apr 1992 06:27:38 GMT Lines: 27