<?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>Tally -- the class of all tally results</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_tally.html">next</a> | <a href="_take_lp__Basic__List_cm__Z__Z_rp.html">previous</a> | <a href="_tally.html">forward</a> | <a href="_take_lp__Basic__List_cm__Z__Z_rp.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>Tally -- the class of all tally results</h1> <div class="single"><h2>Description</h2> <div><tt>Tally</tt> -- a class designed to hold tally results, i.e., multisets.</div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Virtual__Tally.html" title="">VirtualTally</a></span></li> </ul> </div> <div class="waystouse"><h2>Types of tally :</h2> <ul><li><span><a href="___Set.html" title="the class of all sets">Set</a> -- the class of all sets</span></li> <li><span><a href="___Virtual__Tally.html" title="">VirtualTally</a></span></li> </ul> <h2>Functions and methods returning a tally :</h2> <ul><li><span><a href="___Tally_sp_st_st_sp__Tally.html" title="Cartesian product of tallies">Tally ** Tally</a> -- Cartesian product of tallies</span></li> <li><span><a href="___Tally_sp_pl_sp__Tally.html" title="union of tallies">Tally + Tally</a> -- union of tallies</span></li> <li><span><a href="___Tally_sp-_sp__Tally.html" title="difference of tallies">Tally - Tally</a> -- difference of tallies</span></li> <li><span><a href="___Tally_sp^_st_st_sp__Z__Z.html" title="Cartesian power of sets and tallies">Tally ^** ZZ</a> -- Cartesian power of sets and tallies</span></li> <li><span><a href="_tally_lp__Visible__List_rp.html" title="tally the elements of a list, sequence, or array">tally(VisibleList)</a> -- tally the elements of a list, sequence, or array</span></li> <li><span>Command \ Tally, see <span><a href="___Visible__List_sp_sl_sp__Function.html" title="apply a function to elements of a list">VisibleList / Function</a> -- apply a function to elements of a list</span></span></li> <li><span>Function \ Tally, see <span><a href="___Visible__List_sp_sl_sp__Function.html" title="apply a function to elements of a list">VisibleList / Function</a> -- apply a function to elements of a list</span></span></li> <li><span>Tally / Command, see <span><a href="___Visible__List_sp_sl_sp__Function.html" title="apply a function to elements of a list">VisibleList / Function</a> -- apply a function to elements of a list</span></span></li> <li><span>Tally / Function, see <span><a href="___Visible__List_sp_sl_sp__Function.html" title="apply a function to elements of a list">VisibleList / Function</a> -- apply a function to elements of a list</span></span></li> </ul> <h2>Methods that use a tally :</h2> <ul><li><span>Tally ? Tally, see <span><a href="__qu.html" title="comparison operator">?</a> -- comparison operator</span></span></li> <li><span>commonest(Tally), see <span><a href="_commonest.html" title="the most common elements of a list or tally">commonest</a> -- the most common elements of a list or tally</span></span></li> <li><span>elements(Tally), see <span><a href="_elements.html" title="list of elements">elements</a> -- list of elements</span></span></li> <li><span>partition(Function,Tally), see <span><a href="_partition.html" title="partition a set or list by values of a function">partition</a> -- partition a set or list by values of a function</span></span></li> <li><span><a href="_product_lp__Tally_rp.html" title="product of elements">product(Tally)</a> -- product of elements</span></li> <li><span><a href="_sum_lp__Tally_rp.html" title="sum of elements">sum(Tally)</a> -- sum of elements</span></li> <li><span><a href="___Tally_sp_us_sp__Thing.html" title="get a count from a tally">Tally _ Thing</a> -- get a count from a tally</span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Tally.html" title="the class of all tally results">Tally</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor classes <a href="___Hash__Table.html" title="the class of all hash tables">HashTable</a> < <a href="___Thing.html" title="the class of all things">Thing</a>.</p> </div> </div> </body> </html>