Sophie

Sophie

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

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/vecmat/vechu.c File Reference</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_9706e2f7b84d8f85001c7784fc3e51fe.html">vecmat</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">vechu.c File Reference</div>  </div>
</div>
<div class="contents">

<p>DSDPDataMat for sparse matrices in upper full symmetric format.  
<a href="#details">More...</a></p>

<p><a href="vechu_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vechu_8c.html#a4b58e288852728e04a579b6fb7b76a02">DSDPGetVecUMat</a> (int n, int ishift, double alpha, const int ind[], const double val[], int nnz, struct <a class="el" href="structDSDPDataMat__Ops.html">DSDPDataMat_Ops</a> **sops, void **smat)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given data in full symmetric format, create a sparse matrix usuable by DSDP.  <a href="#a4b58e288852728e04a579b6fb7b76a02"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>DSDPDataMat for sparse matrices in upper full symmetric format. </p>

<p>Definition in file <a class="el" href="vechu_8c_source.html">vechu.c</a>.</p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a4b58e288852728e04a579b6fb7b76a02"></a><!-- doxytag: member="vechu.c::DSDPGetVecUMat" ref="a4b58e288852728e04a579b6fb7b76a02" args="(int n, int ishift, double alpha, const int ind[], const double val[], int nnz, struct DSDPDataMat_Ops **sops, void **smat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DSDPGetVecUMat </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ishift</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>ind</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>val</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nnz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structDSDPDataMat__Ops.html">DSDPDataMat_Ops</a> **&#160;</td>
          <td class="paramname"><em>sops</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void **&#160;</td>
          <td class="paramname"><em>smat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given data in full symmetric format, create a sparse matrix usuable by DSDP. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>number of rows and columns of the matrix </td></tr>
    <tr><td class="paramname">ishift</td><td>the index of the first element in the matrix (usually 0) </td></tr>
    <tr><td class="paramname">alpha</td><td>the multiple of these matrix. </td></tr>
    <tr><td class="paramname">ind</td><td>array of matrix indices. </td></tr>
    <tr><td class="paramname">val</td><td>array of matrix values. </td></tr>
    <tr><td class="paramname">nnz</td><td>number of elements in array. </td></tr>
    <tr><td class="paramname">sops</td><td>address of a pointer to a table of function pointers </td></tr>
    <tr><td class="paramname">smat</td><td>address of a pointer to an opaque data type. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="vechu_8c_source.html#l00454">454</a> of file <a class="el" href="vechu_8c_source.html">vechu.c</a>.</p>

<p>Referenced by <a class="el" href="dsdpadddatamat_8c_source.html#l00049">SDPConeAddASparseVecMat()</a>.</p>

</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>