Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Analysis.AlgorithmBehavior/qhull-2012.1/src/libqhull/qh-stat.htm @ 10621

Last change on this file since 10621 was 10207, checked in by ascheibe, 11 years ago

#1886 added a unit test for volume calculation and the qhull library

File size: 7.1 KB
Line 
1<!-- Do not edit with Front Page, it adds too many spaces -->
2<html>
3<head>
4<meta http-equiv="Content-Type"
5content="text/html; charset=iso-8859-1">
6<title>stat.c -- statistical operations</title>
7</head>
8
9<body>
10<!-- Navigation links -->
11<p><a name="TOP"><b>Up:</b></a> <a
12href="http://www.qhull.org">Home page</a> for Qhull<br>
13<b>Up:</b> <a href="../../html/index.htm#TOC">Qhull manual</a>: Table of Contents <br>
14<b>Up:</b> <a href="../../html/qh-quick.htm#programs">Programs</a>
15&#149; <a href="../../html/qh-quick.htm#options">Options</a>
16&#149; <a href="../../html/qh-opto.htm#output">Output</a>
17&#149; <a href="../../html/qh-optf.htm#format">Formats</a>
18&#149; <a href="../../html/qh-optg.htm#geomview">Geomview</a>
19&#149; <a href="../../html/qh-optp.htm#print">Print</a>
20&#149; <a href="../../html/qh-optq.htm#qhull">Qhull</a>
21&#149; <a href="../../html/qh-optc.htm#prec">Precision</a>
22&#149; <a href="../../html/qh-optt.htm#trace">Trace</a><br>
23<b>Up:</b> <a href="../../html/qh-code.htm#TOC">Qhull code: Table of Contents</a><br>
24<b>To:</b> <a href="index.htm">Qhull functions</a>, macros, and data structures<br>
25<b>To:</b> <a href="qh-geom.htm">Geom</a> &#149; <a href="qh-globa.htm">Global</a>
26&#149; <a href="qh-io.htm">Io</a> &#149; <a href="qh-mem.htm">Mem</a>
27&#149; <a href="qh-merge.htm">Merge</a> &#149; <a href="qh-poly.htm">Poly</a>
28&#149; <a href="qh-qhull.htm">Qhull</a> &#149; <a href="qh-set.htm">Set</a>
29&#149; <a href="qh-stat.htm#TOC">Stat</a> &#149; <a href="qh-user.htm">User</a>
30</p>
31<hr>
32
33<h2>stat.c -- statistical operations</h2>
34<blockquote>
35<p>Qhull records many statistics. These functions and
36macros make it inexpensive to add a statistic.
37<p>As with Qhull's global variables, the statistics data structure is
38accessed by a macro, 'qhstat'.  If qh_QHpointer is defined, the macro
39is 'qh_qhstat->', otherwise the macro is 'qh_qhstat.'.
40Statistics
41may be turned off in user.h. If so, all but the 'zz'
42statistics are ignored.</p>
43</blockquote>
44<p><b>Copyright &copy; 1995-2012 C.B. Barber</b></p>
45<hr>
46<p><a href="#TOP">&#187;</a> <a href="qh-geom.htm#TOC">Geom</a>
47<a name="TOC">&#149;</a> <a href="qh-globa.htm#TOC">Global</a>
48&#149; <a href="qh-io.htm#TOC">Io</a> &#149; <a href="qh-mem.htm#TOC">Mem</a>
49&#149; <a href="qh-merge.htm#TOC">Merge</a> &#149; <a href="qh-poly.htm#TOC">Poly</a>
50&#149; <a href="qh-qhull.htm#TOC">Qhull</a> &#149; <a href="qh-set.htm#TOC">Set</a>
51&#149; <b>Stat</b> &#149; <a href="qh-user.htm#TOC">User</a>
52</p>
53<h3>Index to <a href="stat.c">stat.c</a> and
54<a href="stat.h">stat.h</a></h3>
55<ul>
56<li><a href="#ttype">stat.h types</a> </li>
57<li><a href="#tconst">stat.h constants</a> </li>
58<li><a href="#tmacro">stat.h macros</a> </li>
59<li><a href="#tfunc">stat.c functions</a> </li>
60</ul>
61
62<h3><a href="qh-stat.htm#TOC">&#187;</a><a name="ttype">stat.h types</a></h3>
63<ul>
64<li><a href="stat.h#intrealT">intrealT</a> union of
65integer and real</li>
66<li><a href="stat.h#qhstat">qhstat</a> global data
67structure for statistics </li>
68</ul>
69<h3><a href="qh-stat.htm#TOC">&#187;</a><a name="tconst">stat.h
70constants</a></h3>
71<ul>
72<li><a href="stat.h#KEEPstatistics">qh_KEEPstatistics</a> 0 turns off most statistics</li>
73<li><a href="stat.h#statistics">Z..., W...</a> integer (Z) and real (W) statistics
74</li>
75<li><a href="stat.h#ZZstat">ZZstat</a> Z.../W... statistics that
76remain defined if qh_KEEPstatistics=0
77</li>
78<li><a href="stat.h#ztype">ztype</a> zdoc, zinc, etc.
79for definining statistics </li>
80</ul>
81<h3><a href="qh-stat.htm#TOC">&#187;</a><a name="tmacro">stat.h macros</a></h3>
82<ul>
83<li><a href="stat.h#MAYdebugx">MAYdebugx</a> called
84frequently for error trapping </li>
85<li><a href="stat.h#zadd_">zadd_/wadd_</a> add value
86to an integer or real statistic </li>
87<li><a href="stat.h#zdef_">zdef_</a> define a
88statistic </li>
89<li><a href="stat.h#zinc_">zinc_</a> increment an
90integer statistic </li>
91<li><a href="stat.h#zmax_">zmax_/wmax_</a> update
92integer or real maximum statistic </li>
93<li><a href="stat.h#zmin_">zmin_/wmin_</a> update
94integer or real minimum statistic </li>
95<li><a href="stat.h#zval_">zval_/wval_</a> set or
96return value of a statistic </li>
97</ul>
98
99<h3><a href="qh-stat.htm#TOC">&#187;</a><a name="tfunc">stat.c
100functions</a></h3>
101<ul>
102<li><a href="stat.c#allstatA">qh_allstatA</a> define
103statistics in groups of 20 </li>
104<li><a href="stat.c#allstatistics">qh_allstatistics</a>
105reset printed flag for all statistics </li>
106<li><a href="stat.c#collectstatistics">qh_collectstatistics</a>
107collect statistics for qh.facet_list </li>
108<li><a href="stat.c#freestatistics">qh_freestatistics</a>
109free memory used for statistics </li>
110<li><a href="stat.c#initstatistics">qh_initstatistics</a>
111allocate and initialize statistics </li>
112<li><a href="stat.c#newstats">qh_newstats</a> returns
113True if statistics for zdoc </li>
114<li><a href="stat.c#nostatistic">qh_nostatistic</a>
115true if no statistic to print </li>
116<li><a href="stat.c#printallstatistics">qh_printallstatistics</a>
117print all statistics </li>
118<li><a href="stat.c#printstatistics">qh_printstatistics</a>
119print statistics to a file </li>
120<li><a href="stat.c#printstatlevel">qh_printstatlevel</a>
121print level information for a statistic </li>
122<li><a href="stat.c#printstats">qh_printstats</a>
123print statistics for a zdoc group </li>
124<li><a href="stat.c#stddev">qh_stddev</a> compute the
125standard deviation and average from statistics </li>
126</ul>
127
128<p><!-- Navigation links --> </p>
129<hr>
130<p><b>Up:</b>
131<a href="http://www.qhull.org">Home page for
132Qhull</a> <br>
133<b>Up:</b> <a href="../../html/index.htm#TOC">Qhull manual: Table of Contents</a> <br>
134<b>Up:</b> <a href="../../html/qh-quick.htm#programs">Programs</a>
135&#149; <a href="../../html/qh-quick.htm#options">Options</a>
136&#149; <a href="../../html/qh-opto.htm#output">Output</a>
137&#149; <a href="../../html/qh-optf.htm#format">Formats</a>
138&#149; <a href="../../html/qh-optg.htm#geomview">Geomview</a>
139&#149; <a href="../../html/qh-optp.htm#print">Print</a>
140&#149; <a href="../../html/qh-optq.htm#qhull">Qhull</a>
141&#149; <a href="../../html/qh-optc.htm#prec">Precision</a>
142&#149; <a href="../../html/qh-optt.htm#trace">Trace</a><br>
143<b>Up:</b> <a href="../../html/qh-code.htm#TOC">Qhull code: Table of Contents</a> <br>
144<b>To:</b> <a href="index.htm">Qhull functions</a>, macros, and data structures<br>
145<b>To:</b> <a href="qh-geom.htm">Geom</a> &#149;
146<a href="qh-globa.htm">Global</a> &#149; <a href="qh-io.htm">Io</a>
147&#149; <a href="qh-mem.htm">Mem</a> &#149; <a href="qh-merge.htm">Merge</a>
148&#149; <a href="qh-poly.htm">Poly</a> &#149; <a href="qh-qhull.htm#TOC">Qhull</a>
149&#149; <a href="qh-set.htm">Set</a> &#149; <a href="qh-stat.htm">Stat</a>
150&#149; <a href="qh-user.htm">User</a><br>
151</p>
152<p><!-- GC common information --> </p>
153<hr>
154<p><a href="http://www.geom.uiuc.edu/"><img
155src="../../html/qh--geom.gif" align="middle" width="40" height="40"></a><i>The
156Geometry Center Home Page </i></p>
157<p>Comments to: <a href=mailto:qhull@qhull.org>qhull@qhull.org</a>
158</a><br>
159Created: May 2, 1997 --- <!-- hhmts start --> Last modified: see top <!-- hhmts end --> </p>
160</body>
161</html>
Note: See TracBrowser for help on using the repository browser.