The way I read 
,&<
 Is that , is bonded with < . This does not make sense however since it
would mean that dyad < is turned into a monad and , does not make sense as a
left argument for <  ( less than).
What is wrong in my thinking
cheers
 
Roelof  
 
Contact information
 
Dr. Roelof K. Brouwer PEng
Professor 
Department of Computing Science
School of Advanced Technologies and Mathematics
Thompson Rivers University
900 McGill Road, PO Box 3010
Kamloops, BC, Canada,V2C 5N3
 
skype RoelofBrouwer
telephone numbers
1-250 828 5219 work
1-250-377-6133 fax
home page www.tru.ca/advtech/compsci/faculty/rbrouwer
email [EMAIL PROTECTED]
www.cariboo.tru.ca/advtech/compsci/faculty/rbrouwer/pickup/flighttoNanaimo.w
mv
www.picasaweb.google.com/rkbrouwer


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Roger Hui
Sent: September 5, 2007 8:47 AM
To: General forum
Subject: Re: [Jgeneral] normalize data

The dyad ,&<"r can be used to illustrate rank:

   ] x=: 4 3 2 [EMAIL PROTECTED] 5
0 2
3 4
2 2

0 0
0 3
3 0

0 0
4 1
4 0

1 4
4 3
0 2
   ] y=: 3 2 [EMAIL PROTECTED] 5
4 0
1 2
2 4
   x ,&<"_1 _ y
+---+---+
|0 2|4 0|
|3 4|1 2|
|2 2|2 4|
+---+---+
|0 0|4 0|
|0 3|1 2|
|3 0|2 4|
+---+---+
|0 0|4 0|
|4 1|1 2|
|4 0|2 4|
+---+---+
|1 4|4 0|
|4 3|1 2|
|0 2|2 4|
+---+---+
   x -"_1 _ y
_4  2
 2  2
 0 _2

_4  0
_1  1
 1 _4

_4  0
 3 _1
 2 _4

_3  4
 3  1
_2 _2

Likewise the monad <"r 

   <"_1 x
+---+---+---+---+
|0 2|0 0|0 0|1 4|
|3 4|0 3|4 1|4 3|
|2 2|3 0|4 0|0 2|
+---+---+---+---+
   +/"_1 x
5 8
3 3
8 1
5 9
   <"1 x
+---+---+---+
|0 2|3 4|2 2|
+---+---+---+
|0 0|0 3|3 0|
+---+---+---+
|0 0|4 1|4 0|
+---+---+---+
|1 4|4 3|0 2|
+---+---+---+
   +/"1 x
2 7 4
0 3 3
0 5 4
5 7 2
   


----- Original Message -----
From: Roelof Brouwer <[EMAIL PROTECTED]>
Date: Wednesday, September 5, 2007 7:40
Subject: RE: [Jgeneral] normalize data
To: 'General forum' <[email protected]>

> Thanks. I guess that  -"_1 _     means 
> that subtraction is performed over
> the first dimension of the left argument
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to