fixed a small bug in eval ehrhart
[polylib.git] / doc / codeDoc / html / findv_8c-source.html
blob0751fff66709eb3ed4123083fcd166fc868ba950
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>findv.c Source File</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.2.15 -->
7 <center>
8 <a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
9 <hr><h1>findv.c</h1><a href="findv_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#include &lt;stdio.h&gt;</font>
10 00002 <font class="preprocessor">#include &lt;stdlib.h&gt;</font>
11 00003
12 00004 <font class="preprocessor">#include &lt;polylib/polylib.h&gt;</font>
13 00005
14 <a name="l00006"></a><a class="code" href="findv_8c.html#a0">00006</a> <font class="keywordtype">int</font> <a class="code" href="c2p_8c.html#a1">main</a>() {
15 00007
16 00008 Matrix *a, *b;
17 00009 Polyhedron *A, *B;
18 00010 Param_Polyhedron *PA;
19 00011 <font class="keywordtype">char</font> **param_name;
20 00012
21 00013 a = <a class="code" href="matrix_8c.html#a4">Matrix_Read</a>();
22 00014 A = <a class="code" href="polyhedron_8c.html#a24">Constraints2Polyhedron</a>(a,200);
23 00015 <a class="code" href="matrix_8c.html#a1">Matrix_Free</a>(a);
24 00016
25 00017 b = <a class="code" href="matrix_8c.html#a4">Matrix_Read</a>();
26 00018 B = <a class="code" href="polyhedron_8c.html#a24">Constraints2Polyhedron</a>(b,200);
27 00019 <a class="code" href="matrix_8c.html#a1">Matrix_Free</a>(b);
28 00020
29 00021 <font class="comment">/* Read the name of the parameters */</font>
30 00022 param_name = <a class="code" href="param_8c.html#a0">Read_ParamNames</a>(stdin,B-&gt;Dimension);
31 00023 PA = <a class="code" href="polyparam_8c.html#a35">Polyhedron2Param_Vertices</a>(A,B,500);
32 00024 <a class="code" href="polyparam_8c.html#a40">Param_Vertices_Print</a>(stdout,PA-&gt;V,param_name);
33 00025 <a class="code" href="polyhedron_8c.html#a19">Domain_Free</a>(A);
34 00026 <a class="code" href="polyhedron_8c.html#a19">Domain_Free</a>(B);
35 00027 <a class="code" href="polyparam_8c.html#a44">Param_Polyhedron_Free</a>( PA );
36 00028 free(param_name);
37 00029 <font class="keywordflow">return</font> 0;
38 00030 } <font class="comment">/* main */</font>
39 00031
40 00032
41 00033
42 </pre></div><hr><address align="right"><small>Generated on Fri Nov 8 12:10:06 2002 for Polylib by
43 <a href="http://www.doxygen.org/index.html">
44 <img src="doxygen.png" alt="doxygen" align="middle" border=0
45 width=110 height=53></a>1.2.15 </small></address>
46 </body>
47 </html>