<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SuperLU: SRC/dGetDiagU.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</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>
</ul>
</div>
</div>
<div class="contents">
<h1>SRC/dGetDiagU.c File Reference</h1>Extracts main diagonal of matrix. <a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="slu__ddefs_8h-source.html">slu_ddefs.h</a>></code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dGetDiagU_8c.html#946316a98adce0a6d7e56b9f8a0f5b8b">dGetDiagU</a> (<a class="el" href="structSuperMatrix.html">SuperMatrix</a> *L, double *diagU)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<pre>
-- Auxiliary routine in SuperLU (version 2.0) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
Xiaoye S. Li
September 11, 2003</pre><p>
<pre> Purpose
=======</pre><p>
<pre> GetDiagU extracts the main diagonal of matrix U of the LU factorization.</pre><p>
<pre> Arguments
=========</pre><p>
<pre> L (input) SuperMatrix*
The factor L from the factorization Pr*A*Pc=L*U as computed by
<a class="el" href="dgstrf_8c.html#65a25ed27f2524e9cbc8f6ce8cd22c38">dgstrf()</a>. Use compressed row subscripts storage for supernodes,
i.e., L has types: Stype = SLU_SC, Dtype = SLU_D, Mtype = SLU_TRLU.</pre><p>
<pre> diagU (output) double*, dimension (n)
The main diagonal of matrix U.</pre><p>
<pre> Note
====
The diagonal blocks of the L and U matrices are stored in the L
data structures.
</pre> <hr><h2>Function Documentation</h2>
<a class="anchor" name="946316a98adce0a6d7e56b9f8a0f5b8b"></a><!-- doxytag: member="dGetDiagU.c::dGetDiagU" ref="946316a98adce0a6d7e56b9f8a0f5b8b" args="(SuperMatrix *L, double *diagU)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dGetDiagU </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structSuperMatrix.html">SuperMatrix</a> * </td>
<td class="paramname"> <em>L</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double * </td>
<td class="paramname"> <em>diagU</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 1 10:15:07 2009 for SuperLU by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>