COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Table view of an n-dimensional address space

• Email
• Follow

```[My apologies if this post is OT.  I have no idea where I should post
this]

I need help in decoding the following excerpt from an email from our
system architect.  Can someone kindly explain to me, in layman terms,
what this email states?

....You can implement this in software either way.
After all, an n-dimensional address space, with
labeled axes, is isomorphic with a table with n
labeled input columns and 1 output column
(something like an enhanced truth table)....

Thanks,
Masood

```
 0
Reply masood.iqbal (34) 5/19/2007 6:16:44 PM

See related articles to this posting

```masood.iqbal@lycos.com writes:

> [My apologies if this post is OT.  I have no idea where I should post
> this]
>
> I need help in decoding the following excerpt from an email from our
> system architect.  Can someone kindly explain to me, in layman terms,
> what this email states?
>
> ...You can implement this in software either way.
> After all, an n-dimensional address space, with
> labeled axes, is isomorphic with a table with n
> labeled input columns and 1 output column
> (something like an enhanced truth table)....

Assume you have the 3D table:

#3A(((101 102 103 104) (111 112 113 114) (121 122 123 124))
((201 202 203 204) (211 212 213 214) (221 222 223 224)))

You can print it as:

(let ((table #3A(((101 102 103 104) (111 112 113 114) (121 122 123 124))
((201 202 203 204) (211 212 213 214) (221 222 223 224)))))
(format t "~3@A ~3@A ~3@A  : ~4A~%" 'i 'j 'k 'table)
(loop for i from 0 below 2 do
(loop for j from 0 below 3 do
(loop for k from 0 below 4 do
(format t "~3D ~3D ~3D  : ~4D~%" i j k (aref table i j k))))))

I   J   K  : TABLE
0   0   0  :  101
0   0   1  :  102
0   0   2  :  103
0   0   3  :  104
0   1   0  :  111
0   1   1  :  112
0   1   2  :  113
0   1   3  :  114
0   2   0  :  121
0   2   1  :  122
0   2   2  :  123
0   2   3  :  124
1   0   0  :  201
1   0   1  :  202
1   0   2  :  203
1   0   3  :  204
1   1   0  :  211
1   1   1  :  212
1   1   2  :  213
1   1   3  :  214
1   2   0  :  221
1   2   1  :  222
1   2   2  :  223
1   2   3  :  224

--
__Pascal Bourguignon__                     http://www.informatimago.com/

NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.
```
 0

```masood.iqbal@lycos.com said:

> [My apologies if this post is OT.  I have no idea where I should post
> this]

It certainly fits in comp.programming (where I am reading this), so I've
set followups there.

>
> I need help in decoding the following excerpt from an email from our
> system architect.  Can someone kindly explain to me, in layman terms,
> what this email states?
>
> ...You can implement this in software either way.
> After all, an n-dimensional address space, with
> labeled axes, is isomorphic with a table with n
> labeled input columns and 1 output column
> (something like an enhanced truth table)....

Imagine a set of points in one-dimensional space. Clearly, they all sit
on a line. Perhaps A is at point 3, B at point 7, and C at point 9. We
can picture them like this:

A                   B         C
+----+----+----+----+----+----+----+----+----+----+----+----+
0    1    2    3    4    5    6    7    8    9   10   11   12

That's n-dimensional space, for n=1.

But we could represent it like this instead:

+---+------+
| X | Data |
+---+------+
| 3 |   A  |
| 7 |   B  |
| 9 |   C  |
+---+------+

which is a bit more compact, obviously.

Now imagine a set of points in two-dimensional space:

5 +
|
|
4 +              D
|
|
3 +                   A              E
|
|
2 +                             C
|
|
1 +         B
|
|
0 +----+----+----+----+----+----+----+----+----+----+
0    1    2    3    4    5    6    7    8    9   10

Again, we can represent this information more compactly as follows:

+---+---+------+
| X | Y | Data |
+---+---+------+
| 4 | 3 |  A   |
| 2 | 1 |  B   |
| 6 | 2 |  C   |
| 3 | 4 |  D   |
| 7 | 3 |  E   |
+---+---+------+

Now imagine n-dimensional space for n=3. In a Usenet article, I can't
even /draw/ this as a graph. But in table form, it's easy:

+---+---+---+------+
| X | Y | Z | Data |
+---+---+---+------+
| 3 | 2 | 1 |  A   |
| 1 | 7 | 6 |  B   |
| 4 | 1 | 1 |  C   |
| 1 | 8 | 8 |  D   |
| 5 | 2 | 0 |  E   |
| 9 | 8 | 3 |  F   |
| 2 | 1 | 3 |  G   |
+---+---+---+------+

and indeed this form can be extended arbitrarily into n dimensions
without ever needing more than a two-dimensional table in which to
record the co-ordinate information.

HTH. HAND.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
```
 0

2 Replies
93 Views

Similar Articles

12/12/2013 10:30:56 AM
page loaded in 43095 ms. (0)

Similar Artilces:

Re: determining boundary of a region in n-dimensional euclidean space #5
Hello Nabeel. I believe I remember seeing something in this group about an implementation of ConvexHull3D, but I can't find it in the ComputationalGeometry Context. It was not terribly difficult to run qhull (www.qhull.org/, a swiss-army knife for convex hulls and tesselations in higher dimensions) outside of mathematica and then import the result back into mathematica. I did this once for a convex hull in 3D, but lost it in a disk crash. If anyone recreates it, I wouldn't mind getting a copy. Craig On Mar 10, 2011, at Thu, Mar 10, 11 ---4:03 PM, Nabeel Butt wrote: >...

How to create an N dimensional array with N elements?
Ive been googling and reading through my books but I haven't figured out a solution (much less an elegant one) to create a multidimensional array with a runtime determined number of dimensions. I also checked out the boost::multi_array.hpp, and Giovanni Bavistrelli's Array code. Neither of these seem to allow dynamic array dimensions. For example, the user selects a 2 dimensional array, I want to create: MyObject** array = new MyObject[dim1_size][dim2_size]; And if they select a 4 dim array: MyObject**** array = new MyObject[dim1_size][dim2_size][dim3_size][dim4_size]; Besides usi...

N-dimensional plotting where N>3`
Does anyone know of some Matlab code for the displaying of N>3 Dimensional functions? What I mean is something that would allow you to rotate a 4 dimensional object around one axis, so that you could see the changes in the 3-d object. An simple example would be a normal function dependent on x,y,t. To display this you might setupt the software so that you could change the time index, and thus the 3-D object would be moved along the t axis. So, no one has experience with N>3- Dimensional plotting? So, no one has experience with N>3- Dimensional plotting? Hello, Try plotting al...

I am on a Mac! I am having trouble viewing records in "View Address Labels". I am only getting one record in the top left hand corner when I use this option. I was getting ready to print and adjusted the text in Layout Mode. Before I adjusted the text I could see all the records but now I only see one record for each page. This has happened before but since then I have forgotten how to get it to show ALL records. If I did anything... Any help would be nice. Your help is greatly appreciated. Thanks sukhumvit_2000@yahoo.com What Harry said. G On Feb 9, 6:57 pm, <>...

assume a system has a CPU with 11 address bus , 1kb main RAM, and has a vedio card that has 1kb video ram is the CPU 's address space 2kb, or 1kb? from my understanding , CPU address space is a logic concept, so the CPU address space is 2kb (2^11), is that right? if address space is 2kb, does that means this system actully has 2kb ram (1kb main ram + 1kb video ram)? but in real, we always say the system has only 1kb memory, since we only installed 1kb ram in mainboard, so where is that 1kb video ram? regards, anru spamtrap@crayne.org wrote: > assume a system has a CPU with 11 ad...

Preventing Duplicates in a Continuous Form Bound to N:N Join Table
I'm trying to do something I normally don't do, and that's allow the addition of records in a continuous form. The form is bound to the join table for a many-to-many relationship that joins inventory and customers. When the form displays as a subform of the inventory form, the combo box listing customers is visible, and when displayed as a subform of the customer form, the combo box listing inventory items is listed. Now, what I want is to prohibit the user from adding a duplicate record. For instance, if you're viewing InventoryID 100 and it's already got...

How to generate (enumerate) 2**N tuples representing all vertices of unit hypercube in N-dimensional hyperspace ?
I'm looking for a good Python way to generate (enumerate) the 2**N tuples representing all vertices of the unit hypercube in N-dimensional hyperspace. For example, for N=4 the Python code should generate the following 2**N = 16 tuples: (1,1,1,1), (1,1,1,-1), (1,1,-1, 1), (1,1,-1,-1), (1,-1,1,1), (1,-1,1,-1), (1,-1,-1, 1), (1,-1,-1,-1), (-1,1,1,1), (-1,1,1,-1), (-1,1,-1, 1), (-1,1,-1,-1), (-1,-1,1,1), (-1,-1,1,-1), (-1,-1,-1, 1), (-1,-1,-1,-1) Maybe converting each integer in the range(2**N) to binary, then converting to bit string, then applying the "tuple" function to...

Differnce between setting mac address port security under the interface vs. the mac address-table global command
I'm familiar with setting a static MAC address under a Cisco switch's individual interfaces. But there's another command (actually, a family of commands) at the global level. The one I'm interested in is: mac address-table static xxxx.xxxxx.xxxx vlan y interface FastEthernet0/z I'm not familiar with this command and what it does. How does it differ from setting the MAC address under the specific interface? Do they both do the same thing? Would you use them at the same time? Thanks in advance. On 1 Feb, 19:16, ttripp <ttr...@manh.com> wrote: >...

Hey people. I have been working through the IA-32 Software Developer's Manuals. I have read pretty much all of it in some detail (skipping mostly just tables and lists that can be referenced as needed). Still there is something very basic in my understanding that is lacking. There is a Physical Address Space of 4GBytes (2^32 bytes) which basically identifies all of the binary numbers that can be used as addresses for assembly language programming. With the 36-bit address extensions it is possible to increase this to 64Gbytes. The problem is that in a computer there is Hard Drive storage,...

world to view space
Hi There, What's the easiest way to transform a point from world space into camera space? I want to transform a relative offset (between camera and object in space) in world space into camera space for the purposes of displaying a position on a radar (like the kind that occured in the game Elite) TIA Peter. Peter Ashford wrote: > Hi There, > > What's the easiest way to transform a point from world space into camera > space? Multiply by a 4x4 matrix that encodes the transformation from world space to camera space. In OpenGL that is often set up by a call to gluL...

Inner space of table cells ...
Hi, I would like to set an inner space for all cells in a table. I found \tabcolsep but I couldn't find a corresponding command for the vertical space like \tabrowsep. Many Thanks Konrad On Sep 4, 3:43 am, Konrad M=FChler <mueh...@isg.cs.uni-magdeburg.de> wrote: > Hi, > > I would like to set an inner space for all cells in a table. > I found \tabcolsep but I couldn't find a corresponding command for the > vertical space like \tabrowsep. > > Many Thanks > Konrad Consider setting the length \minrowclearance from the colortbl package, available online fr...

user customised table view?
hi all, is there a way to have a table view but the user can add remove fields at his/her own discrection. So for exmaple, i made a new layout with just the table view format and I have some fields showing by default. But there are other fields some user might want to add and some fields they might want to remove. Does FM7 give the user the abilty to customize, or can i add some script or menu to have that happen? thanks PS: i have to say FM7 just added table view haphazardly. its very limited in what it can do. for example, the fields that are buttons in form view are not buttons in table v...

How does the virtual address space of a process get allocated? pmap -xa 304 [several lines deleted] 304: sh Address Kbytes RSS Anon Locked Mode Mapped File 00010000 88 88 - - r-x-- sh 00036000 8 8 - - rwx-- sh what is the logic behind the above segment mapping begining at 00036000? If I try to add up (on the assumption that VA space is contigious for similar segments), it doesn't add up. I have an idea that dynamic linker is involved in the set up VA space. Some futher explanation or any pointers to how to understand that me...

Space bettween lines in a Table
Dear experts, I'm new in Latex and I'm having a problem in creating the "right" amount of space between lines in a table. Some lines are separated by more space than others and I cannot seem to fix it. If you copy and paste the code below, you'll get better understanding of the problem. Thanks in advance for your help. \documentclass{amsart} \usepackage{amsmath} \usepackage{graphicx} \usepackage{verbatim} \usepackage{algorithmic} \usepackage{algorithm} %\usepackage{tabls} \setlength\tablinesep{4pt} \usepackage{tabularx} \usepackage{hyperref} \hyperset...