2007/6/10, Raul Miller <[EMAIL PROTECTED]>:

I don't know about the rationale (except that it may be an
oversight), but if you want a signed #: you could do something
like
  (#:,.~_1*0&>) i:5

(replace i:5 with whatever).

--
Raul


  (#:,.~_1*0&>) i:5
_1 0 1 1
_1 1 0 0
_1 1 0 1
_1 1 1 0
_1 1 1 1
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1

  antibase=:3 :'s*#:|y[s=.*y'

  antibase i:5
_1  0 _1
_1  0  0
0 _1 _1
0 _1  0
0  0 _1
0  0  0
0  0  1
0  1  0
0  1  1
1  0  0
1  0  1

--

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

Reply via email to