Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 4024

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>apply -- apply a function to each element</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_apply_lp__Basic__List_cm__Basic__List_cm__Function_rp.html">next</a> | <a href="_application__Directory__Suffix.html">previous</a> | <a href="_apply_lp__Basic__List_cm__Basic__List_cm__Function_rp.html">forward</a> | <a href="_application__Directory__Suffix.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<hr/>
<div><h1>apply -- apply a function to each element</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>apply(L,f) or apply(L1,L2,f)</tt></div>
</dd></dl>
</div>
</li>
</ul>
</div>
<div><!--empty documentation body--></div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_apply__Keys.html" title="apply a function to each key in a hash table">applyKeys</a> -- apply a function to each key in a hash table</span></li>
<li><span><a href="_apply__Pairs.html" title="apply a function to each pair in a hash table">applyPairs</a> -- apply a function to each pair in a hash table</span></li>
<li><span><a href="_apply__Values.html" title="apply a function to each value">applyValues</a> -- apply a function to each value</span></li>
<li><span><a href="_apply__Table.html" title="apply a function to elements of a table">applyTable</a> -- apply a function to elements of a table</span></li>
<li><span><a href="_mapping_spover_splists.html" title="apply a function to each element of a list">mapping over lists</a> -- apply a function to each element of a list</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>apply</tt> :</h2>
<ul><li><span><a href="_apply_lp__Basic__List_cm__Basic__List_cm__Function_rp.html" title="apply a function to pairs of elements, one from each list">apply(BasicList,BasicList,Function)</a> -- apply a function to pairs of elements, one from each list</span></li>
<li><span><a href="_apply_lp__Basic__List_cm__Function_rp.html" title="apply a function to each element of a list">apply(BasicList,Function)</a> -- apply a function to each element of a list</span></li>
<li><span><a href="_apply_lp__Z__Z_cm__Function_rp.html" title="apply a function to {0,..., n-1}">apply(ZZ,Function)</a> -- apply a function to {0,..., n-1}</span></li>
</ul>
</div>
</div>
</body>
</html>