Anonymous user
Yellowstone sequence: Difference between revisions
m
→{{header|zkl}}: update
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Slightly less inefficient) |
m (→{{header|zkl}}: update) |
||
Line 255:
{{trans|Julia}}
This sequence is limited to the max size of a Dictionary, 64k
<lang zkl>fcn yellowstoneW{ // --> iterator
Walker.zero().tweak(fcn(a,b){
foreach i in ([1..]){
Line 275:
Plot using Gnuplot
<lang zkl>gnuplot:=System.popen("gnuplot","w");
gnuplot.writeln("unset key; plot '-'");
yellowstoneW().pump(
gnuplot.writeln("e");
gnuplot.flush();
ask("Hit return to finish"); gnuplot.close();</lang>
Offsite Image: [http://www.zenkinetic.com/Images/RosettaCode/yellowstone1000.zkl.png yellowstone]
|