Re: constructing an N dimensional grid/mesh.



Amit Bhatia <amit.bhatia@xxxxxxxxx> wrote:
> Hello,
> I am trying to make an N dimensional grid of identical cells, wherein
> given an element it is easy to find other elements that share one or
> more edges with it.

You'll want to clarify what you mean by "edges". Cells boundaries are
edges only for N=2. For N=3 they're rectangles, in higher dimensions
they're (N-2) dimensional "hyper-rectangles". Cells may share only
intersections of such N-2 dimensional boundaries (vertices, edges,
faces, ... (N-3) dimensional rectangles). I hope you didn't really
mean to restrict the definition of "neighbor" to those cells that
share exactly 1-dimensional edges, did you?

> Any suggestions on how it could be done: in 2 dimensions, it is
> relatively straightforward, but in general N dimensional euclidean
> space I can't think of a way of doing it.

I don't see what's so hard about it: a cell is identified by an
N-element tuple of indices. Its direct neighbors are all cells that
differ by one count in exacly one index. It's lesser neighbors are
all cells that differ by at most one count in each index.

--
Hans-Bernhard Broeker (broeker@xxxxxxxxxxxxxxxxxxxxx)
Even if all the snow were burnt, ashes would remain.
.



Relevant Pages

  • Re: Areal density really so high?
    ... The point I originally attempted to make was that there might be significant differences between what the maximum TPI may be (possibly based on criteria which have little to do with the actual dimensions of the magnetized bit areas) and what the shape of those magnetized bit areas actually looked like. ... So you end up sending a relatively higher current down the wire from the write driver to the write head. ... As an aside, while Mark's paper indicated the benefit of square cells, note that most of the pictures and diagrams show rectangular cells. ...
    (comp.arch)
  • Re: help with protection
    ... Set the form up in the form of a table with the cells having fixed ... dimensions. ... Please reply to the newsgroup unless you wish to avail yourself of my ... The tab button jumps from field to ...
    (microsoft.public.word.docmanagement)
  • Re: How to type on form created without words moving
    ... The usual way is to set the form up as a table with the cells having fixed ... dimensions. ... Please respond to the Newsgroup for the benefit of others who may be ... Doug Robbins - Word MVP ...
    (microsoft.public.word.vba.general)
  • Re: Cell Sizes NOT
    ... Hey - these dimensions are only *recommendations*. ... See, if you have a table that is 400px wide, and it contains only two cells, ... > I have several pages where I am placing thumbnails. ...
    (microsoft.public.frontpage.client)
  • cloneing cells in different worksheets
    ... into cells that are not in identical cells on both work sheets as i am ... i can copy paste it over or any of the other copy paste procedures but ...
    (microsoft.public.excel.programming)