pi=: 3 1 4 1 5 9 2 6 5
    e=: 2 7 1 8 2 8 1 8 3
   
   pi (]-.]-.[) e
2 1 2 1 3
   e ([ -. -.) pi
2 1 2 1 3

Since there is only one  2   in the nine digits of  pi  , isn't the only
correct one?
   
   e (]-.]-.[) pi
3 1 1 2
   
Linda


-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of Alexander Mikhailov
Sent: Friday, June 01, 2012 1:35 PM
To: programming@jsoftware.com
Subject: Re: [Jprogramming] rank trouble


-----
Without the "nub" gives an arguably more correct answer:

   pi (]-.]-.[) e
2 1 2 1 3
   e (]-.]-.[) pi
3 1 1 2
-----

Why not

e ([ -. -.) pi
2 1 2 1 3 
?
----------------------------------------------------------------------
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