Sophie

Sophie

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

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/dsdplanczos.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">dsdplanczos.h</div>  </div>
</div>
<div class="contents">
<a href="dsdplanczos_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __TAO_DSDPSTEP_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __TAO_DSDPSTEP_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><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="l00013"></a><a class="code" href="structDSDPLanczosStepLength.html">00013</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00014"></a>00014   <span class="keywordtype">int</span> lanczosm;
<a name="l00015"></a>00015   <span class="keywordtype">int</span> maxlanczosm;
<a name="l00016"></a>00016   <span class="keywordtype">double</span> *darray;  <span class="comment">/* For SLOW BUT ROBUST METHOD ONLY */</span>
<a name="l00017"></a>00017   <a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a> *Q; <span class="comment">/* Size 2 for FAST, Size lanczosm for SLOW */</span>
<a name="l00018"></a>00018   <a class="code" href="structSDPConeVec__C.html" title="Vector whose length corresponds to dimension of a block in a cone.">SDPConeVec</a> Tv; <span class="comment">/* For SLOW BUT ROBUST METHOD ONLY */</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020   <span class="keywordtype">double</span> *dwork4n;
<a name="l00021"></a>00021   <span class="keywordtype">int</span> *iwork10n;
<a name="l00022"></a>00022   <span class="keywordtype">int</span> lwork,liwork;
<a name="l00023"></a>00023   <span class="keywordtype">int</span> n;
<a name="l00024"></a>00024   <span class="keywordtype">int</span> type;
<a name="l00025"></a>00025 } <a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</a>;
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00029"></a>00029 <span class="preprocessor">#endif</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdplanczos_8h.html#a5f6b8919f166ba6149cf12e71b8d3bca" title="Initialize Lanczos structure.">DSDPLanczosInitialize</a>(<a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</a>*);
<a name="l00031"></a>00031 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdplanczos_8h.html#a94aaca7c5feb571597a089bc7302a021" title="Set parameter.">DSDPSetMaximumLanczosIterations</a>( <a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</a> *LZ, <span class="keywordtype">int</span>);
<a name="l00032"></a>00032 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdplanczos_8h.html#a0db98a9eb4ae08a45498bf56de769636" title="Use Lanczos procedure. Assume off tridiagonal entries are zero.">DSDPFastLanczosSetup</a>(<a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</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="l00033"></a>00033 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdplanczos_8h.html#af016e5b9270f774d081faff7296f0259" title="Use slowerer but more robust method.">DSDPRobustLanczosSetup</a>(<a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</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="l00034"></a>00034 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdplanczos_8h.html#a9f710224114c584d949d0fe7b4e4529a" title="Compute distance to boundary.">DSDPLanczosStepSize</a>( <a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</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="structDSDPDualMat__C.html" title="Represents an S matrix for one block in the semidefinite cone.">DSDPDualMat</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">double</span> *);
<a name="l00035"></a>00035 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdplanczos_8h.html#a13450b87544302fa3e6ceda031189a7a" title="Free data structure.">DSDPLanczosDestroy</a>( <a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</a>*);
<a name="l00036"></a>00036 <span class="keyword">extern</span> <span class="keywordtype">int</span> DSDPLanczosMinXEig( <a class="code" href="structDSDPLanczosStepLength.html" title="Apply Lanczos prodedure to find distance to boundary.">DSDPLanczosStepLength</a>*, <a class="code" href="structDSDPVMat__C.html" title="Dense symmetric matrix for one block in the semidefinite cone.">DSDPVMat</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>, <span class="keywordtype">double</span> *);
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>}
<a name="l00040"></a>00040 <span class="preprocessor">#endif</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="preprocessor">#endif</span>
</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>