mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-01 14:03:17 +08:00
Documentation for 0931d530ae
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.5"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: numerical_methods/qr_eigen_values.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.5 -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
@@ -147,7 +147,7 @@ Functions</h2></td></tr>
|
||||
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Compute real eigen values and eigen vectors of a symmetric matrix using <a href="https://en.wikipedia.org/wiki/QR_decomposition" target="_blank">QR decomposition</a> method. </p>
|
||||
<div class="textblock"><p>Compute real eigen values and eigen vectors of a symmetric matrix using <a href="https://en.wikipedia.org/wiki/QR_decomposition" target="_blank">QR decomposition</a> method. </p>
|
||||
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/kvedala" target="_blank">Krishna Vedala</a> </dd></dl>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="aee57a411f07599034f5ceb8cc7d65b40" name="aee57a411f07599034f5ceb8cc7d65b40"></a>
|
||||
@@ -161,7 +161,7 @@ Functions</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >limit of range of matrix values </p>
|
||||
<p>limit of range of matrix values </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -181,7 +181,7 @@ Functions</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >create a symmetric square matrix of given size with random elements. A symmetric square matrix will <em>always</em> have real eigen values.</p>
|
||||
<p>create a symmetric square matrix of given size with random elements. A symmetric square matrix will <em>always</em> have real eigen values.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[out]</td><td class="paramname">A</td><td>matrix to create (must be pre-allocated in memory) </td></tr>
|
||||
@@ -241,7 +241,7 @@ Here is the call graph for this function:</div>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >main function </p>
|
||||
<p>main function </p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 243</span> {</div>
|
||||
<div class="line"><span class="lineno"> 244</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="../../d7/d35/matrix__exponentiation_8cpp.html#a9977ad12548c4a49dee9dc3f0685aa54">mat_size</a> = 5;</div>
|
||||
<div class="line"><span class="lineno"> 245</span> <span class="keywordflow">if</span> (argc == 2) {</div>
|
||||
@@ -336,7 +336,7 @@ Here is the call graph for this function:</div>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Perform multiplication of two matrices.</p><ul>
|
||||
<p>Perform multiplication of two matrices.</p><ul>
|
||||
<li>R2 must be equal to C1</li>
|
||||
<li>Resultant matrix size should be R1xC2 <dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
@@ -387,7 +387,7 @@ Here is the call graph for this function:</div>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >test function to compute eigen values of a 2x2 matrix </p><p class="formulaDsp">
|
||||
<p>test function to compute eigen values of a 2x2 matrix </p><p class="formulaDsp">
|
||||
\[\begin{bmatrix}
|
||||
5 & 7\\
|
||||
7 & 11
|
||||
@@ -440,7 +440,7 @@ Here is the call graph for this function:</div>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >test function to compute eigen values of a 2x2 matrix </p><p class="formulaDsp">
|
||||
<p>test function to compute eigen values of a 2x2 matrix </p><p class="formulaDsp">
|
||||
\[\begin{bmatrix}
|
||||
-4& 4& 2& 0& -3\\
|
||||
4& -4& 4& -3& -1\\
|
||||
@@ -494,7 +494,7 @@ Here is the call graph for this function:</div>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../de/d75/qr__eigen__values_8cpp.html">qr_eigen_values.cpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user