<!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_impl.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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data 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 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_impl.h</div> </div> </div> <div class="contents"> <a href="dsdpdsmat__impl_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_DSMATRIXOPS_H) </span> <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __DSDP_DSMATRIXOPS_H</span> <a name="l00003"></a>00003 <span class="preprocessor"></span> <a name="l00015"></a><a class="code" href="structDSDPDSMat__Ops.html">00015</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>{ <a name="l00016"></a>00016 <span class="keywordtype">int</span> id; <a name="l00017"></a>00017 int (*matzeroentries)(<span class="keywordtype">void</span>*); <a name="l00018"></a>00018 int (*matmult)(<span class="keywordtype">void</span>*,<span class="keywordtype">double</span>[],<span class="keywordtype">double</span>[], int); <span class="comment">/* Multiply by a vector */</span> <a name="l00019"></a>00019 int (*matgetsize)(<span class="keywordtype">void</span>*,<span class="keywordtype">int</span>*); <a name="l00020"></a>00020 int (*matseturmat)(<span class="keywordtype">void</span>*,<span class="keywordtype">double</span>[],int,int); <span class="comment">/* Set values from array */</span> <a name="l00021"></a>00021 int (*matvecvec)(<span class="keywordtype">void</span>*,<span class="keywordtype">double</span>[],int,<span class="keywordtype">double</span>*); <span class="comment">/* v' * DS * v */</span> <a name="l00022"></a>00022 int (*mattest)(<span class="keywordtype">void</span>*); <a name="l00023"></a>00023 int (*matview)(<span class="keywordtype">void</span>*); <a name="l00024"></a>00024 int (*matdestroy)(<span class="keywordtype">void</span>*); <a name="l00025"></a>00025 <span class="keyword">const</span> <span class="keywordtype">char</span> *matname; <a name="l00026"></a>00026 }; <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="preprocessor">#ifdef __cplusplus</span> <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { <a name="l00030"></a>00030 <span class="preprocessor">#endif</span> <a name="l00031"></a>00031 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpdsmat_8c.html#a956667007b1dada1d134e557b0feee9e" title="Set pointers to null.">DSDPDSMatOpsInitialize</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>*); <a name="l00032"></a>00032 <span class="preprocessor">#ifdef __cplusplus</span> <a name="l00033"></a>00033 <span class="preprocessor"></span>} <a name="l00034"></a>00034 <span class="preprocessor">#endif</span> <a name="l00035"></a>00035 <span class="preprocessor"></span> <a name="l00036"></a>00036 <span class="preprocessor">#endif</span> <a name="l00037"></a>00037 <span class="preprocessor"></span> <a name="l00038"></a>00038 </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Jun 8 2011 for DSDP by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>