/usr/share/doc/libapron-ocaml-dev/html/Generator1.html is in libapron-ocaml-dev 0.9.10-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Lincons1.html">
<link rel="next" href="Texpr1.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Introduction" rel="Chapter" href="Introduction.html">
<link title="Scalar" rel="Chapter" href="Scalar.html">
<link title="Interval" rel="Chapter" href="Interval.html">
<link title="Coeff" rel="Chapter" href="Coeff.html">
<link title="Dim" rel="Chapter" href="Dim.html">
<link title="Linexpr0" rel="Chapter" href="Linexpr0.html">
<link title="Lincons0" rel="Chapter" href="Lincons0.html">
<link title="Generator0" rel="Chapter" href="Generator0.html">
<link title="Texpr0" rel="Chapter" href="Texpr0.html">
<link title="Tcons0" rel="Chapter" href="Tcons0.html">
<link title="Manager" rel="Chapter" href="Manager.html">
<link title="Abstract0" rel="Chapter" href="Abstract0.html">
<link title="Var" rel="Chapter" href="Var.html">
<link title="Environment" rel="Chapter" href="Environment.html">
<link title="Linexpr1" rel="Chapter" href="Linexpr1.html">
<link title="Lincons1" rel="Chapter" href="Lincons1.html">
<link title="Generator1" rel="Chapter" href="Generator1.html">
<link title="Texpr1" rel="Chapter" href="Texpr1.html">
<link title="Tcons1" rel="Chapter" href="Tcons1.html">
<link title="Abstract1" rel="Chapter" href="Abstract1.html">
<link title="Parser" rel="Chapter" href="Parser.html">
<link title="Box" rel="Chapter" href="Box.html">
<link title="Oct" rel="Chapter" href="Oct.html">
<link title="Polka" rel="Chapter" href="Polka.html">
<link title="Ppl" rel="Chapter" href="Ppl.html">
<link title="PolkaGrid" rel="Chapter" href="PolkaGrid.html">
<link title="Mpz" rel="Chapter" href="Mpz.html">
<link title="Mpq" rel="Chapter" href="Mpq.html">
<link title="Gmp_random" rel="Chapter" href="Gmp_random.html">
<link title="Mpf" rel="Chapter" href="Mpf.html">
<link title="Mpfr" rel="Chapter" href="Mpfr.html">
<link title="Mpzf" rel="Chapter" href="Mpzf.html">
<link title="Mpqf" rel="Chapter" href="Mpqf.html">
<link title="Mpfrf" rel="Chapter" href="Mpfrf.html"><link title="Type earray" rel="Section" href="#2_Typeearray">
<title>Generator1</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Lincons1.html" title="Lincons1">Previous</a>
<a class="up" href="index.html" title="Index">Up</a>
<a class="post" href="Texpr1.html" title="Texpr1">Next</a>
</div>
<h1>Module <a href="type_Generator1.html">Generator1</a></h1>
<pre><span class="keyword">module</span> Generator1: <code class="code"><span class="keyword">sig</span></code> <a href="Generator1.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info module top">
APRON Generators and array of generators of level 1<br>
</div>
<hr width="100%">
<pre><code><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = {</code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span class="keyword">mutable </span><span id="TYPEELTt.generator0">generator0</span> : <code class="type"><a href="Generator0.html#TYPEt">Generator0.t</a></code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span class="keyword">mutable </span><span id="TYPEELTt.env">env</span> : <code class="type"><a href="Environment.html#TYPEt">Environment.t</a></code>;</code></td>
</tr></table>
}
<pre><code><span id="TYPEearray"><span class="keyword">type</span> <code class="type"></code>earray</span> = {</code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span class="keyword">mutable </span><span id="TYPEELTearray.generator0_array">generator0_array</span> : <code class="type"><a href="Generator0.html#TYPEt">Generator0.t</a> array</code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span class="keyword">mutable </span><span id="TYPEELTearray.array_env">array_env</span> : <code class="type"><a href="Environment.html#TYPEt">Environment.t</a></code>;</code></td>
</tr></table>
}
<br>
APRON Generators and array of generators of level 1<br>
<pre><span id="TYPEtyp"><span class="keyword">type</span> <code class="type"></code>typ</span> = <code class="type"><a href="Generator0.html#TYPEtyp">Generator0.typ</a></code> = </pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTtyp.LINE"><span class="constructor">LINE</span></span></code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTtyp.RAY"><span class="constructor">RAY</span></span></code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTtyp.VERTEX"><span class="constructor">VERTEX</span></span></code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTtyp.LINEMOD"><span class="constructor">LINEMOD</span></span></code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTtyp.RAYMOD"><span class="constructor">RAYMOD</span></span></code></td>
</tr></table>
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type"><a href="Linexpr1.html#TYPEt">Linexpr1.t</a> -> <a href="Generator0.html#TYPEtyp">Generator0.typ</a> -> <a href="Generator1.html#TYPEt">t</a></code></pre><div class="info ">
Make a generator. Modifying later the linear expression (<em>not
advisable</em>) modifies correspondingly the generator and conversely,
except for changes of environements<br>
</div>
<pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Generator1.html#TYPEt">t</a></code></pre><div class="info ">
Copy (deep copy)<br>
</div>
<pre><span id="VALprint"><span class="keyword">val</span> print</span> : <code class="type">Format.formatter -> <a href="Generator1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Print the generator<br>
</div>
<pre><span id="VALget_typ"><span class="keyword">val</span> get_typ</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Generator0.html#TYPEtyp">Generator0.typ</a></code></pre><div class="info ">
Get the generator type<br>
</div>
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">(<a href="Coeff.html#TYPEt">Coeff.t</a> -> <a href="Var.html#TYPEt">Var.t</a> -> unit) -> <a href="Generator1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Iter the function on the pair coefficient/variable of the underlying linear
expression<br>
</div>
<pre><span id="VALset_typ"><span class="keyword">val</span> set_typ</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Generator0.html#TYPEtyp">Generator0.typ</a> -> unit</code></pre><div class="info ">
Set the generator type<br>
</div>
<pre><span id="VALset_list"><span class="keyword">val</span> set_list</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> (<a href="Coeff.html#TYPEt">Coeff.t</a> * <a href="Var.html#TYPEt">Var.t</a>) list -> unit</code></pre><div class="info ">
Set simultaneously a number of coefficients.
<p>
<code class="code">set_list expr [(c1,<span class="string">"x"</span>); (c2,<span class="string">"y"</span>)]</code> assigns coefficients <code class="code">c1</code>
to variable <code class="code"><span class="string">"x"</span></code> and coefficient <code class="code">c2</code> to variable <code class="code"><span class="string">"y"</span></code>.<br>
</div>
<pre><span id="VALset_array"><span class="keyword">val</span> set_array</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> (<a href="Coeff.html#TYPEt">Coeff.t</a> * <a href="Var.html#TYPEt">Var.t</a>) array -> unit</code></pre><div class="info ">
Set simultaneously a number of coefficients, as <code class="code">set_list</code>.<br>
</div>
<pre><span id="VALget_coeff"><span class="keyword">val</span> get_coeff</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Var.html#TYPEt">Var.t</a> -> <a href="Coeff.html#TYPEt">Coeff.t</a></code></pre><div class="info ">
Get the coefficient of the variable in the underlying linear expression<br>
</div>
<pre><span id="VALset_coeff"><span class="keyword">val</span> set_coeff</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Var.html#TYPEt">Var.t</a> -> <a href="Coeff.html#TYPEt">Coeff.t</a> -> unit</code></pre><div class="info ">
Set the coefficient of the variable in the underlying linear expression<br>
</div>
<pre><span id="VALextend_environment"><span class="keyword">val</span> extend_environment</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Environment.html#TYPEt">Environment.t</a> -> <a href="Generator1.html#TYPEt">t</a></code></pre><div class="info ">
Change the environement of the generator for a super-environement. Raise <code class="code"><span class="constructor">Failure</span></code> if it is not the case<br>
</div>
<pre><span id="VALextend_environment_with"><span class="keyword">val</span> extend_environment_with</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Environment.html#TYPEt">Environment.t</a> -> unit</code></pre><div class="info ">
Side-effect version of the previous function<br>
</div>
<br>
<h2 id="2_Typeearray">Type earray</h2><br>
<pre><span id="VALarray_make"><span class="keyword">val</span> array_make</span> : <code class="type"><a href="Environment.html#TYPEt">Environment.t</a> -> int -> <a href="Generator1.html#TYPEearray">earray</a></code></pre><div class="info ">
Make an array of generators with the given size and defined on the
given environement. The elements are initialized with the line 0.<br>
</div>
<pre><span id="VALarray_print"><span class="keyword">val</span> array_print</span> : <code class="type">?first:(unit, Format.formatter, unit) Pervasives.format -><br> ?sep:(unit, Format.formatter, unit) Pervasives.format -><br> ?last:(unit, Format.formatter, unit) Pervasives.format -><br> Format.formatter -> <a href="Generator1.html#TYPEearray">earray</a> -> unit</code></pre><div class="info ">
Print an array of generators<br>
</div>
<pre><span id="VALarray_length"><span class="keyword">val</span> array_length</span> : <code class="type"><a href="Generator1.html#TYPEearray">earray</a> -> int</code></pre><div class="info ">
Get the size of the array<br>
</div>
<pre><span id="VALarray_get"><span class="keyword">val</span> array_get</span> : <code class="type"><a href="Generator1.html#TYPEearray">earray</a> -> int -> <a href="Generator1.html#TYPEt">t</a></code></pre><div class="info ">
Get the element of the given index (which is not a copy)<br>
</div>
<pre><span id="VALarray_set"><span class="keyword">val</span> array_set</span> : <code class="type"><a href="Generator1.html#TYPEearray">earray</a> -> int -> <a href="Generator1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Set the element of the given index (without any copy). The array and the
generator should be defined on the same environement; otherwise a <code class="code"><span class="constructor">Failure</span></code>
exception is raised.<br>
</div>
<pre><span id="VALarray_extend_environment"><span class="keyword">val</span> array_extend_environment</span> : <code class="type"><a href="Generator1.html#TYPEearray">earray</a> -> <a href="Environment.html#TYPEt">Environment.t</a> -> <a href="Generator1.html#TYPEearray">earray</a></code></pre><div class="info ">
Change the environement of the array of generators for a super-environement. Raise <code class="code"><span class="constructor">Failure</span></code> if it is not the case<br>
</div>
<pre><span id="VALarray_extend_environment_with"><span class="keyword">val</span> array_extend_environment_with</span> : <code class="type"><a href="Generator1.html#TYPEearray">earray</a> -> <a href="Environment.html#TYPEt">Environment.t</a> -> unit</code></pre><div class="info ">
Side-effect version of the previous function<br>
</div>
<pre><span id="VALget_env"><span class="keyword">val</span> get_env</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Environment.html#TYPEt">Environment.t</a></code></pre><div class="info ">
Get the environement of the generator<br>
</div>
<pre><span id="VALget_linexpr1"><span class="keyword">val</span> get_linexpr1</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Linexpr1.html#TYPEt">Linexpr1.t</a></code></pre><div class="info ">
Get the underlying linear expression. Modifying the linear expression (<em>not advisable</em>) modifies correspondingly the generator and
conversely, except for changes of environements<br>
</div>
<pre><span id="VALget_generator0"><span class="keyword">val</span> get_generator0</span> : <code class="type"><a href="Generator1.html#TYPEt">t</a> -> <a href="Generator0.html#TYPEt">Generator0.t</a></code></pre><div class="info ">
Get the underlying generator of level 0. Modifying the generator
of level 0 (<em>not advisable</em>) modifies correspondingly the generator
and conversely, except for changes of environements<br>
</div>
</body></html>
|