When a facility can be provided as an adverb or a verb,
it's better to provide it as a verb because a verb is
more easily combined with conjunctions and adverbs.
e.g.  I can say fib4"r  or fib4&.> etc.  Not so with the 
adverb fib5 .



----- Original Message -----
From: Viktor Cerovski <[email protected]>
Date: Wednesday, May 20, 2009 18:20
Subject: Re: [Jchat] Silver ratio, geometrically interpreted
To: [email protected]

> Roger Hui wrote:
> > 
> > For tacit fans:
> > 
> > fib4=: ([: +/ ;@:{&(1;0 1)^:(]`0:))"0
> > 
> >    fib4 i. 2 10
> >  0  1   1   2   
> 3   5   8   13   
> 21   34
> > 55 89 144 233 377 610 987 1597 2584 4181
> > 
> > 
> Roger, this and previous fibs are great.
> 
> For tacit adverbs fans:
> 
>    fib5=: ;@:{&(1;0 1)^:(+/@:)
>    11 fib5 0
> 89
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to