slides - Friedrich-Schiller-Universität Jena
slides - Friedrich-Schiller-Universität Jena
slides - Friedrich-Schiller-Universität Jena
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
translation to functional style (2)<br />
x(m, i)<br />
(if (m==0) a(i)<br />
else if (i==0) 0.0f<br />
else if (i==n) 0.0f<br />
else ( 1.0f + x(m-1,i) – 0.5f *<br />
( x(m-1, i-1) + x(m-1, i+1) ) ) )<br />
strict evaluation<br />
no higher order functions<br />
type inference<br />
local single assignment