<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Pure function - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=pure_function&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=pure_function&amp;p=7">3.Next</a>
</p>
<p>the function in another function (<a href="page.php?w=wrapper_function">wrapper function</a>).</p>

<p>By means of memoization, the computational effort involved in the computations of the function itself can be reduced, at the cost of the overhead for managing the cache and an increase of memory requirements.</p>

<p>A <a href="page.php?w=C_%28programming_language%29">C</a> program for cached computation of <a href="page.php?w=factorial">factorial</a> (<a href="page.php?w=assert.h"><code>assert()</code></a> aborts with an error message if its</p><p>
<a accesskey="1" href="page.php?w=pure_function&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=pure_function&amp;p=7">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
