First, some J:

  rank2 =: i. 1 2
  rank1 =: 0 1
  rank2
0 1
  rank1
0 1
  [EMAIL PROTECTED] rank2
2
  [EMAIL PROTECTED] rank1
1


1 - cartesian coordinate system - rank1 would be represented on a
number line, while rank2 would be represented on a x-y graph.

2 - visual - J makes no visual distinction between these two things -
they look the same on your screen. I'm disturbed by this.

3 - memory requirements - I think the equivalent C language data structures are:
rank2[1][2]
rank1[2]

Is that correct?

4 - items - rank2 has one item. It is a 2-element "list" (better
word?). rank1 has 2 items. They are the atoms 1 and 2.


Why did I write this post? To get as much guidance, feedback, etc as
possible. It is very important to be clear on what is what in J and
when I type two different things and in fact create two different
things, but they look the same, I really need to be clear on how they
differ and why.

Any and all feedback welcome.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to