It comes down to whether there is one empty vector
or more than one empty vector. (*)
(<i.0) -: <''
1
(i.0) -: ''
1
(i.0) -: u: i.0
1
3!:0 i.0
4
3!:0 u: i.0
131072
I will probably change 5!:5 to preserve the
distinction between <i.0 and <'' without answering
(*) one way or the other.
----- Original Message -----
From: Jose Mario Quintana <[EMAIL PROTECTED]>
Date: Tuesday, August 15, 2006 6:48 am
Subject: [Jbeta] Linear Representation
> "5!:5 y Linear. The linear representation is a string which, when
> interpreted, produces the named object."
>
> 9!:14''
> j601/beta/2006-08-07/09:40
>
> lr=. (5!:5)@<
>
> A=. <''
> lr'A'
> a:
> B=. "[EMAIL PROTECTED]'A'
> lr'B'
> a:
>
> A = B
> 1
> A -: B
> 1
>
> A (= &({:@>)) B
> 0
> A (-:&({:@>)) B
> 0
>
> A = a:
> 1
> A -: a:
> 1
>
> A (= &({:@>)) a:
> 0
> A (-:&({:@>)) a:
> 0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm