Repository navigation
Expand file tree
/
Copy pathLanguage-Copilot-Libs-Statistics.html
More file actions
12 lines (12 loc) · 5.23 KB
/
Copy pathLanguage-Copilot-Libs-Statistics.html
File metadata and controls
12 lines (12 loc) · 5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Language.Copilot.Libs.Statistics</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Language-Copilot-Libs-Statistics.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="http://github.com/leepike/Copilot/Language.Copilot.Libs.Statistics.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">copilot-0.28: A stream DSL for writing embedded C monitors.</p></div><div id="content"><div id="module-header"><p class="caption">Language.Copilot.Libs.Statistics</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Basic bounded statistics. In the following, a bound <code>n</code> is given stating
the number of periods over which to compute the statistic (<code>n == 1</code> computes
it only over the current period).
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:max">max</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</li><li class="src short"><a href="#v:min">min</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</li><li class="src short"><a href="#v:sum">sum</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</li><li class="src short"><a href="#v:mean">mean</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, <a href="Language-Copilot-Language.html#t:Fractional">Fractional</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:max" class="def">max</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</p><div class="doc"><p>Maximum value.
</p></div></div><div class="top"><p class="src"><a name="v:min" class="def">min</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</p><div class="doc"><p>Minimum value.
</p></div></div><div class="top"><p class="src"><a name="v:sum" class="def">sum</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</p><div class="doc"><p>Summation.
</p></div></div><div class="top"><p class="src"><a name="v:mean" class="def">mean</a> :: (<a href="Language-Copilot-Core.html#t:Streamable">Streamable</a> a, <a href="Language-Copilot-Language.html#t:Fractional">Fractional</a> a, NumE a) => <a href="/Library/Frameworks/GHC.framework/Versions/612/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t:Int">Int</a> -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a -> <a href="Language-Copilot-Core.html#t:Spec">Spec</a> a</p><div class="doc"><p>Mean value. <code>n</code> must not overflow
for word size <code>a</code> for streams over which computation is peformed.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.8.1</p></div></body></html>