A Basic Just-In-Time Compiler
Kort samengevat
Monday’s /r/dailyprogrammer challenge was to write a program to read a recurrence relation definition and, through interpretation, iterate it to some number of terms. It’s given an initial term (u(0)) and a sequence of operations, f, to apply to the previous term (u(n + 1) = f(u(n))) to compute the next term. Since it’s an easy challenge, the operations are limited to addition, subtraction, multiplication, and division, with one operand each.
Verder lezen bij de bron
Bekijk het volledige nieuwsbericht rechtstreeks bij Nullprogram.
Lees het volledige bericht ↗