Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > df736a3bc446df5b16150bebb7296274 > files > 96

DSDP-devel-5.8-2.fc14.i686.rpm

<!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/xhtml;charset=UTF-8"/>
<title>DSDP: src/sdp/dsdpdsmat.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">DSDP</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_23046874d7fed141927c769a66d8e3a5.html">src</a>      </li>
      <li class="navelem"><a class="el" href="dir_2c21778722bc8593635d5ebd154ac3f7.html">sdp</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">dsdpdsmat.h</div>  </div>
</div>
<div class="contents">
<a href="dsdpdsmat_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#if !defined(__DSDP_DSMATRIX_H) </span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __DSDP_DSMATRIX_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;<a class="code" href="sdpconevec_8h.html" title="Each block of the SDPCone has two vectors of appropriate size.">sdpconevec.h</a>&quot;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;<a class="code" href="dsdpxmat_8h.html" title="The interface between the SDPCone and the dense matrix array.">dsdpxmat.h</a>&quot;</span>
<a name="l00006"></a>00006 
<a name="l00012"></a>00012 <span class="comment">/* DSDPDSMat objects are not used for much:  DS, X, eigenvalue stuff     */</span>
<a name="l00013"></a>00013 <span class="comment">/* These objects are good basically for assembling a matrix, accessing</span>
<a name="l00014"></a>00014 <span class="comment">   the data, and applying the operator to a vector                     */</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="comment">/* DSDP Matrix Structure */</span>
<a name="l00023"></a><a class="code" href="structDSDPDSMat__C.html">00023</a> <span class="keyword">struct </span><a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat_C</a>{
<a name="l00024"></a>00024   <span class="keywordtype">void</span>  *matdata;
<a name="l00025"></a>00025   <span class="keyword">struct </span><a class="code" href="structDSDPDSMat__Ops.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat_Ops</a>* dsdpops;
<a name="l00026"></a>00026 };
<a name="l00027"></a>00027 
<a name="l00033"></a><a class="code" href="dsdpdsmat_8h.html#a02fa347b669aab52da786be5d98ff0f9">00033</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat_C</a> <a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>;
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00037"></a>00037 <span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="keyword">extern</span> <span class="keywordtype">int</span> DSDPDSMatGetType(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>, <span class="keywordtype">int</span> *);
<a name="l00040"></a>00040 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#a80146b03ed5cc899e53fbb5b8dcb4504" title="Set the opaque pointer and function pointers to the matrix.">DSDPDSMatSetData</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a> *, <span class="keyword">struct</span> <a class="code" href="structDSDPDSMat__Ops.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat_Ops</a>*,  <span class="keywordtype">void</span>*);
<a name="l00041"></a>00041 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#af3f1124787ca6a784818a70fcd7aaa83" title="Set pointers to null.">DSDPDSMatInitialize</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>*);
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#ad1eb94e9fc1b053b44d09afe4bf51cf0" title="Zero the entries in the matrix.">DSDPDSMatZeroEntries</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>);
<a name="l00044"></a>00044 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#a458ba9739ca12e14736a90034611951b" title="Set values into the matrix.">DSDPDSMatSetArray</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>,<a class="code" href="structDSDPVMat__C.html" title="Dense symmetric matrix for one block in the semidefinite cone.">DSDPVMat</a>);
<a name="l00045"></a>00045 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#ad5c54b432eb405cd469a48b885cf47f5" title="Set values into the matrix.">DSDPDSMatMult</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>, <a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a>, <a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a>);
<a name="l00046"></a>00046 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#a3875114b5db6bec165ac6e9293862623" title="Compute the product x&#39; A x.">DSDPDSMatVecVec</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>, <a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a>, <span class="keywordtype">double</span>*);
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <span class="keyword">extern</span> <span class="keywordtype">int</span> DSDPDSMatTest(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>);
<a name="l00049"></a>00049 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#aaf32f9f16b391070534ceeca5f6ffa03" title="Set the opaque pointer and function pointers to the matrix.">DSDPDSMatGetSize</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>,<span class="keywordtype">int</span>*);
<a name="l00050"></a>00050 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#a71d17522bcc0fca44f6982f7c6e41b87" title="Print the matrix.">DSDPDSMatView</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>);
<a name="l00051"></a>00051 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#ab3e28c12ae70491cc1fb6d0e4024757a" title="Free the data structure.">DSDPDSMatDestroy</a>(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>*);
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="keyword">extern</span> <span class="keywordtype">int</span> DSDPDSMatCheck(<a class="code" href="structDSDPDSMat__C.html" title="Symmetric Delta S matrix for one block in the semidefinite cone.">DSDPDSMat</a>,<a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a>,<a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a>,<a class="code" href="structDSDPVMat__C.html" title="Dense symmetric matrix for one block in the semidefinite cone.">DSDPVMat</a>);
<a name="l00054"></a>00054 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span>}
<a name="l00056"></a>00056 <span class="preprocessor">#endif</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00061"></a>00061 
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Jun 8 2011 for DSDP by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>