I was trying to work thru the semiprime routine of Roger's as
mentioned in http://www.jsoftware.com/jwiki/Essays/Semiprimes,

namely


sp1=: (#~ 2 = [EMAIL PROTECTED]:) @ }. @ i.

and to assist my understanding tried to employ the
trace routine:

   sp1
(#~ (2 = [EMAIL PROTECTED]:))@[EMAIL PROTECTED]
   sp1 10
4 6 9

   load 'trace'
   trace 'sp1 10'
 --------------- 0 Monad ------
 sp1
 10
|value error: sp1
|   t_z=.    (sp1)(10)

..and got the above error. Can someone please elucidate?

Thanks in advance

_________________________________________________________________
Welcome to the next generation of Windows Live
http://www.windowslive.co.uk/get-live----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to