/usr/share/doc/libapron-ocaml-dev/html/Linexpr1.html is in libapron-ocaml-dev 0.9.10-6.
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 | <!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="Environment.html">
<link rel="next" href="Lincons1.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"><title>Linexpr1</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Environment.html" title="Environment">Previous</a>
<a class="up" href="index.html" title="Index">Up</a>
<a class="post" href="Lincons1.html" title="Lincons1">Next</a>
</div>
<h1>Module <a href="type_Linexpr1.html">Linexpr1</a></h1>
<pre><span class="keyword">module</span> Linexpr1: <code class="code"><span class="keyword">sig</span></code> <a href="Linexpr1.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info module top">
APRON Expressions 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.linexpr0">linexpr0</span> : <code class="type"><a href="Linexpr0.html#TYPEt">Linexpr0.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>
}
<br>
APRON Expressions of level 1<br>
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type">?sparse:bool -> <a href="Environment.html#TYPEt">Environment.t</a> -> <a href="Linexpr1.html#TYPEt">t</a></code></pre><div class="info ">
Build a linear expression defined on the given argument, which is sparse by
default.<br>
</div>
<pre><span id="VALminimize"><span class="keyword">val</span> minimize</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
In case of sparse representation, remove zero coefficients<br>
</div>
<pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> <a href="Linexpr1.html#TYPEt">t</a></code></pre><div class="info ">
Copy<br>
</div>
<pre><span id="VALprint"><span class="keyword">val</span> print</span> : <code class="type">Format.formatter -> <a href="Linexpr1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Print the linear expression<br>
</div>
<pre><span id="VALset_list"><span class="keyword">val</span> set_list</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> (<a href="Coeff.html#TYPEt">Coeff.t</a> * <a href="Var.html#TYPEt">Var.t</a>) list -> <a href="Coeff.html#TYPEt">Coeff.t</a> option -> 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>)] (<span class="constructor">Some</span> cst)</code> assigns coefficients <code class="code">c1</code>
to variable <code class="code"><span class="string">"x"</span></code>, coefficient <code class="code">c2</code> to variable <code class="code"><span class="string">"y"</span></code>, and coefficient <code class="code">cst</code>
to the constant. If <code class="code">(<span class="constructor">Some</span> cst)</code> is replaced by <code class="code"><span class="constructor">None</span></code>,
the constant coefficient is not assigned.<br>
</div>
<pre><span id="VALset_array"><span class="keyword">val</span> set_array</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> (<a href="Coeff.html#TYPEt">Coeff.t</a> * <a href="Var.html#TYPEt">Var.t</a>) array -> <a href="Coeff.html#TYPEt">Coeff.t</a> option -> unit</code></pre><div class="info ">
Set simultaneously a number of coefficients, as <code class="code">set_list</code>.<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="Linexpr1.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Iter the function on the pair coefficient/variable of the linear expression<br>
</div>
<pre><span id="VALget_cst"><span class="keyword">val</span> get_cst</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> <a href="Coeff.html#TYPEt">Coeff.t</a></code></pre><div class="info ">
Get the constant<br>
</div>
<pre><span id="VALset_cst"><span class="keyword">val</span> set_cst</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> <a href="Coeff.html#TYPEt">Coeff.t</a> -> unit</code></pre><div class="info ">
Set the constant<br>
</div>
<pre><span id="VALget_coeff"><span class="keyword">val</span> get_coeff</span> : <code class="type"><a href="Linexpr1.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<br>
</div>
<pre><span id="VALset_coeff"><span class="keyword">val</span> set_coeff</span> : <code class="type"><a href="Linexpr1.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<br>
</div>
<pre><span id="VALextend_environment"><span class="keyword">val</span> extend_environment</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> <a href="Environment.html#TYPEt">Environment.t</a> -> <a href="Linexpr1.html#TYPEt">t</a></code></pre><div class="info ">
Change the environment of the expression 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="Linexpr1.html#TYPEt">t</a> -> <a href="Environment.html#TYPEt">Environment.t</a> -> unit</code></pre><div class="info ">
Side-effet version of the previous function<br>
</div>
<pre><span id="VALis_integer"><span class="keyword">val</span> is_integer</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> bool</code></pre><div class="info ">
Does the linear expression depend only on integer variables ?<br>
</div>
<pre><span id="VALis_real"><span class="keyword">val</span> is_real</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> bool</code></pre><div class="info ">
Does the linear expression depend only on real variables ?<br>
</div>
<pre><span id="VALget_linexpr0"><span class="keyword">val</span> get_linexpr0</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> <a href="Linexpr0.html#TYPEt">Linexpr0.t</a></code></pre><div class="info ">
Get the underlying expression of level 0 (which is not a copy).<br>
</div>
<pre><span id="VALget_env"><span class="keyword">val</span> get_env</span> : <code class="type"><a href="Linexpr1.html#TYPEt">t</a> -> <a href="Environment.html#TYPEt">Environment.t</a></code></pre><div class="info ">
Get the environement of the expression<br>
</div>
</body></html>
|