Cells and items are defined in Section II a
of the dictionary.

http://www.jsoftware.com/help/dictionary/dicta.htm

If k is positive and no more than the rank r of
an array y (r=. #$y), then the k-cells of y are 
the subarrays on the trailing k axes of y ;
if k is negative (and no less than -r), then the
k-cells are the (r+k)-cells.  Items are_1-cells.
<"k y is a good way to look at the k-cells.

In the dictionary entry for -. says:
  x-.y includes all items of x except those that
  are cells of y .
Note that the items of x may not be items of y .

   x=: 7 2 [EMAIL PROTECTED] 5
   y=: 5 6 2 [EMAIL PROTECTED] 4
   x -. y
4 2
4 4
0 4



----- Original Message -----
From: June Kim <[EMAIL PROTECTED]>
Date: Friday, September 22, 2006 9:43 am
Subject: Cell (was Re: [Jgeneral] I expect a table of ordered pairs for this)

> 2006/9/23, Henry Rich <[EMAIL PROTECTED]>:
> > u/ applies u between each cell of x and the entire y.
> >
> > Cell.  Not atom.  Not item.
> >
> [snip]
> 
> What is the definition of "cell"?
> 
> Moreover, a page on -. (Less) from the J dictionary reads:
> 
>  x-.y includes all ITEMS of x except for those that are CELLS of 
> y .
> (emphasis is mine)
> 
> Is the choice of two different words intentional here? What if "cells"
> were replaced with "items" in the sentence?


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to