What is happening here?

 

base=: 13 :'(3#y)#:i.y^3'

  

   [A=:_+/"1 base 2

_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _

   f=: 13 :'_+/"1 y'

   f base 2

_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _

   

   5!:4 <'f'

  -- _            
  │     -- / --- +
--+- " -+- 1      
  L- ]            

   

  )  

   _base 2

_j_. 2

   _(base 2) 

|syntax error
|       _(base 2)

   

   _base 2

_j_. 2

   (_base 2)+/"1 base 2

_j_. _j_. _j_.
   2    2    2

_j_. _j_. _j_.
   2    2    3

_j_. _j_. _j_.
   2    3    2

_j_. _j_. _j_.
   2    3    3

_j_. _j_. _j_.
   3    2    2

_j_. _j_. _j_.
   3    2    3

_j_. _j_. _j_.
   3    3    2

_j_. _j_. _j_.
   3    3    3

 

Linda

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

Reply via email to