Almost, but notice I. with integers other than 0/1
      I. 0 1 0 2
1 3 3

Therefore,
    ([: +/. ( 1 ,~ I.)"0) I. 0 2 0 3
0 1 0 1
If you remove one dot:
    ([: +/ ( 1 ,~ I.)"0) I. 0 2 0 3
0 2 0 3

Ben

________________________________________
From: [email protected] 
[[email protected]] on behalf of 'Pascal Jasmin' via 
Programming [[email protected]]
Sent: Saturday, October 11, 2014 18:12
To: Programming forum
Subject: [Jprogramming] an inverse to I.

I notice that there is no inverse to I. that is defined.  Is this an 
appropriate one?

   ([: +./ ( 1 ,~ I.)"0)  7 9
0 0 0 0 0 0 0 1 0 1

   I. ([: +./ ( 1 ,~ I.)"0) 0 7 9
0 7 9
----------------------------------------------------------------------
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