It looks to me that the left argument 100 is the maximum
number of iterations.

(100&$:) : (4 : 0) defines a verb whose dyad is defined
by the (4 : 0) and whose monad is that dyad with a left
argument of 100.  Another example of such use:

   root=: %:
   percent_colon=: 2&$: : root
   3 percent_colon 81 
4.32675
   percent_colon 81 
9



----- Original Message -----
From: miridian <[EMAIL PROTECTED]>
Date: Wednesday, January 9, 2008 7:34
Subject: [Jprogramming] (100&$:) in a dyad definition
To: Programming forum <[email protected]>

> Hi,
> 
> in the J wiki there is
>    http://www.jsoftware.com/jwiki/Essays/Continued_Fractions
> 
> there is the definition of the qcf dyad that start with
>    qcf=:(100&$:) : (4 : 0)
> 
> I used qcf to solve a problem in mathschallenge
> but I changed (100&$:) to (1000&$:)
> 
> What is the means of (100&$:) ?
> 
> I found $: in the vocabulary as Self-Reference and there
> are only monadic case example.
> 
> Luca.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to