Displaying 1 result from an estimated 1 matches for "luger".
Did you mean:
lugar
2004 Feb 03
3
Implementating streams in R
Dear all,
I have an implementation of streams in R. The current implementation of
delay() and force() is
inspired from the LISP implementation found in Part VI "Languages for AI
problem solving" of
"Artificial Intelligence" by G. Luger.
I have tested it with the Fibonacci example in the same book (see examples
below). It works
but I do run into a problem when I try to generate fibonacci series more
than 25 elements.
> accumulate.into.list(25,fibonacci.stream(0,1))
Error in cons.stream(fibonacci1 + fibonacci2,
fibonacci....