The search in f can stop before 9999.  (*:y)|y*k 
repeats when k is a multiple of y.  Thus:

   g=: [: >./ *: | ] * 6 + 4 * [EMAIL PROTECTED]:

   (f"0 -: g"0) 3+i.100
1



----- Original Message -----
From: Geoff Canyon <[EMAIL PROTECTED]>
Date: Monday, April 2, 2007 1:32 am
Subject: [Jprogramming] In search of tacit

> I wrote the following -- is there a way to make it tacit?
> 
> f=: 3 : 0
> (>./(y^2)|y*6+4*i.9999)
> )
> 
> <.+/(f"0) 3+i.998
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to