That took me a while...
+/ .*~^:6 ]0 1,:1 1
6.55747e12 1.06102e13
1.06102e13 1.71677e13
f=: 13 :'y+/ .*y'
f
+/ .*~
f A=:0 1,:1 1
1 1
1 2
f f A
2 3
3 5
f f f f f f A
6.55747e12 1.06102e13
1.06102e13 1.71677e13
g=: 13 :'+/ .*~^:x ]y'
g
4 : '+/ .*~^:x ]y'
3 g A
13 21
21 34
6 g A
6.55747e12 1.06102e13
1.06102e13 1.71677e13
Name Class. Class of (boxed) name:
_2
invalid
_1
unused
0
noun
1
adverb
2
conjunction
3
verb
What is a "4" ?
Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Roger Hui
Sent: Friday, December 13, 2013 6:32 AM
To: Programming forum
Subject: Re: [Jprogramming] Under for fun & profit
%/ {: +/ .*~^:6 ]0 1,:1 1
0.618034
On Fri, Dec 13, 2013 at 1:40 AM, Linda Alvord
<[email protected]>wrote:
> -:<:sqrt 5
> 0.618034
>
> Linda
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm