Skip to content
Snippets Groups Projects
Commit aa477c03 authored by zkasmi's avatar zkasmi
Browse files

Puts added for better outputs & small changes.

parent 1481b134
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('creating-modules.html','');}); ...@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('creating-modules.html','');});
<div class="contents"> <div class="contents">
<div class="toc"><h3>Table of Contents</h3> <div class="toc"><h3>Table of Contents</h3>
<ul><li class="level1"><a href="#the-general-structure">The general structure</a></li> <ul><li class="level1"><a href="#the-general-structure">The general structure</a></li>
<li class="level1"><a href="#autotoc_md0">Module dependencies</a></li> <li class="level1"><a href="#module-dependencies">Module dependencies</a></li>
</ul> </ul>
</div> </div>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Zakaria Kasmi</dd></dl> <div class="textblock"><dl class="section author"><dt>Author</dt><dd>Zakaria Kasmi</dd></dl>
...@@ -115,7 +115,7 @@ The general structure</h1> ...@@ -115,7 +115,7 @@ The general structure</h1>
</div><!-- fragment --><p>The <code>Makefile.base</code> and <code>Makefile.include</code> macros in the example above are includes for the linear algebra module.</p> </div><!-- fragment --><p>The <code>Makefile.base</code> and <code>Makefile.include</code> macros in the example above are includes for the linear algebra module.</p>
<p>If your module's name differs from the name of the directory it resides in you need to set the <code>MODULE</code> macro in addition.</p> <p>If your module's name differs from the name of the directory it resides in you need to set the <code>MODULE</code> macro in addition.</p>
<p>The <code>Makefile.dep</code> serves to define dependencies and the <code>Makefile.include</code> to append target specific information to variables like INCLUDES. Modules can be used by adding their name to the <code>USEMODULE</code> macro of the application's Makefile.</p> <p>The <code>Makefile.dep</code> serves to define dependencies and the <code>Makefile.include</code> to append target specific information to variables like INCLUDES. Modules can be used by adding their name to the <code>USEMODULE</code> macro of the application's Makefile.</p>
<h1><a class="anchor" id="autotoc_md0"></a> <h1><a class="anchor" id="module-dependencies"></a>
Module dependencies</h1> Module dependencies</h1>
<p>The module may depend on other modules to minimize code duplication. These dependencies are defined in <code>Makefile.dep</code> with the following syntax:</p> <p>The module may depend on other modules to minimize code duplication. These dependencies are defined in <code>Makefile.dep</code> with the following syntax:</p>
<div class="fragment"><div class="line">ifneq (,$(filter your_module,$(USEMODULE))) # if module in USEMODULE</div> <div class="fragment"><div class="line">ifneq (,$(filter your_module,$(USEMODULE))) # if module in USEMODULE</div>
......
This diff is collapsed.
...@@ -108,7 +108,7 @@ $(document).ready(function(){initNavTree('householder__test_8c_source.html',''); ...@@ -108,7 +108,7 @@ $(document).ready(function(){initNavTree('householder__test_8c_source.html','');
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="householder__test_8h.html#aacc09bb5d8990f8f6f3bc872b9a8d9a0"> 31</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="householder__test_8c.html#aacc09bb5d8990f8f6f3bc872b9a8d9a0">householder_test</a>(<span class="keywordtype">void</span>)</div> <div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="householder__test_8h.html#aacc09bb5d8990f8f6f3bc872b9a8d9a0"> 31</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="householder__test_8c.html#aacc09bb5d8990f8f6f3bc872b9a8d9a0">householder_test</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; puts(<span class="stringliteral">&quot;############ Test the Householder algorithm ###############&quot;</span>);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> A[10][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 },</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> A[10][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 },</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 },</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 },</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 },</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 },</div>
......
...@@ -94,11 +94,11 @@ $(document).ready(function(){initNavTree('index.html','');}); ...@@ -94,11 +94,11 @@ $(document).ready(function(){initNavTree('index.html','');});
<ul><li class="level1"><a href="#RcdMathLib-in-a-nutshell">RcdMathLib in a nutshell</a></li> <ul><li class="level1"><a href="#RcdMathLib-in-a-nutshell">RcdMathLib in a nutshell</a></li>
<li class="level1"><a href="#download-use-RcdMathLib">Download and use RcdMathLib</a></li> <li class="level1"><a href="#download-use-RcdMathLib">Download and use RcdMathLib</a></li>
<li class="level1"><a href="#the-quickest-start">The quickest start</a></li> <li class="level1"><a href="#the-quickest-start">The quickest start</a></li>
<li class="level1"><a href="#structure">Structure</a><ul><li class="level2"><a href="#autotoc_md1">Linear Algebra</a></li> <li class="level1"><a href="#structure">Structure</a><ul><li class="level2"><a href="#autotoc_md0">Linear Algebra</a></li>
<li class="level2"><a href="#autotoc_md2">Non-Linear Algebra</a></li> <li class="level2"><a href="#autotoc_md1">Non-Linear Algebra</a></li>
<li class="level2"><a href="#autotoc_md3">Localization</a></li> <li class="level2"><a href="#autotoc_md2">Localization</a></li>
<li class="level2"><a href="#autotoc_md4">examples</a></li> <li class="level2"><a href="#autotoc_md3">examples</a></li>
<li class="level2"><a href="#autotoc_md5">doc</a></li> <li class="level2"><a href="#autotoc_md4">doc</a></li>
</ul> </ul>
</li> </li>
<li class="level1"><a href="#further-information">Further information</a></li> <li class="level1"><a href="#further-information">Further information</a></li>
...@@ -134,7 +134,7 @@ Software Architecture</div></div> ...@@ -134,7 +134,7 @@ Software Architecture</div></div>
<p>In addition RcdMathLib includes various examples to familiarize the user with the software as well as an API to facilitate the use and the further development of the library.</p> <p>In addition RcdMathLib includes various examples to familiarize the user with the software as well as an API to facilitate the use and the further development of the library.</p>
<p>The structural groups are projected onto the directory structure of RcdMathLib, where each of these groups resides in one or two directories in the main RcdMathLib directory.</p> <p>The structural groups are projected onto the directory structure of RcdMathLib, where each of these groups resides in one or two directories in the main RcdMathLib directory.</p>
<p>The following list gives a more detailed description of each of RcdMathLib's top-level directories:</p> <p>The following list gives a more detailed description of each of RcdMathLib's top-level directories:</p>
<h2><a class="anchor" id="autotoc_md1"></a> <h2><a class="anchor" id="autotoc_md0"></a>
Linear Algebra</h2> Linear Algebra</h2>
<p>This directory contains functions that are specific to vector and matrix operations, and other algebraic operations. It provides functions to perform basic matrix operations such as matrix addition, multiplication, or transposition. It also provides algorithms for complex operations like matrix decomposition algorithms, algorithms to calculate the pseudo-inverse of a matrix, or methods to solve systems of linear equations. The linear algebra module is divided in the following sub-modules:</p><ul> <p>This directory contains functions that are specific to vector and matrix operations, and other algebraic operations. It provides functions to perform basic matrix operations such as matrix addition, multiplication, or transposition. It also provides algorithms for complex operations like matrix decomposition algorithms, algorithms to calculate the pseudo-inverse of a matrix, or methods to solve systems of linear equations. The linear algebra module is divided in the following sub-modules:</p><ul>
<li>Basic operations sub-module.</li> <li>Basic operations sub-module.</li>
...@@ -144,7 +144,7 @@ Linear Algebra</h2> ...@@ -144,7 +144,7 @@ Linear Algebra</h2>
<li>Utilities sub-module.</li> <li>Utilities sub-module.</li>
</ul> </ul>
<p>See <a class="el" href="group__linear__algebra.html">LINEAR_ALGEBRA</a> module for further information and API documentations.</p> <p>See <a class="el" href="group__linear__algebra.html">LINEAR_ALGEBRA</a> module for further information and API documentations.</p>
<h2><a class="anchor" id="autotoc_md2"></a> <h2><a class="anchor" id="autotoc_md1"></a>
Non-Linear Algebra</h2> Non-Linear Algebra</h2>
<p>The non-linear algebra module contains functions to solve multi-variant nonlinear equations as wells algorithms solving problems of regression smoothing and curve fitting. This module also enables enables the optimization of an approximate solution by using Non-linear Least Squares (NLS) methods such as modified Gauss&ndash;Newton (GN) or the Levenberg&ndash;Marquardt (LVM) algorithms. The non-linear algebra module is divided in the two following sub-modules:</p> <p>The non-linear algebra module contains functions to solve multi-variant nonlinear equations as wells algorithms solving problems of regression smoothing and curve fitting. This module also enables enables the optimization of an approximate solution by using Non-linear Least Squares (NLS) methods such as modified Gauss&ndash;Newton (GN) or the Levenberg&ndash;Marquardt (LVM) algorithms. The non-linear algebra module is divided in the two following sub-modules:</p>
<ul> <ul>
...@@ -152,7 +152,7 @@ Non-Linear Algebra</h2> ...@@ -152,7 +152,7 @@ Non-Linear Algebra</h2>
<li>Optimization sub-module.</li> <li>Optimization sub-module.</li>
</ul> </ul>
<p>See here <a class="el" href="group__non__linear__algebra.html">NON_LINEAR_ALGEBRA</a> module for further information.</p> <p>See here <a class="el" href="group__non__linear__algebra.html">NON_LINEAR_ALGEBRA</a> module for further information.</p>
<h2><a class="anchor" id="autotoc_md3"></a> <h2><a class="anchor" id="autotoc_md2"></a>
Localization</h2> Localization</h2>
<p>The localization module contains functions to compute a position of a mobile device using distance measurements or DC-pulsed, magnetic signals. This module also includes optimization algorithms such as the Levenberg&ndash;Marquardt approach to optimize the calculated position. The localization module also involves a method to recognize and mitigate the multipath errors on the mobile station.</p> <p>The localization module contains functions to compute a position of a mobile device using distance measurements or DC-pulsed, magnetic signals. This module also includes optimization algorithms such as the Levenberg&ndash;Marquardt approach to optimize the calculated position. The localization module also involves a method to recognize and mitigate the multipath errors on the mobile station.</p>
<p>In the <code>position_algos</code> sub-directory you can find the implementations of the distance-based localization system (see the <a class="el" href="group__distance__based.html">DISTANCE_BASED</a> module) as well as the implementations of the DC-pulsed, magnetic position system (see the <a class="el" href="group__magnetic__based.html">MAGNETIC_BASED</a> module). The <code>pos_algos_common</code> sub-directory contains common localization algorithms like the trilateration method (see the <a class="el" href="group__pos__algos__common.html">POS_ALGOS_COMMON</a> module). The optimization algorithms are localted in the <code>optimization</code> sub-directory providing the following optimization approaches:</p> <p>In the <code>position_algos</code> sub-directory you can find the implementations of the distance-based localization system (see the <a class="el" href="group__distance__based.html">DISTANCE_BASED</a> module) as well as the implementations of the DC-pulsed, magnetic position system (see the <a class="el" href="group__magnetic__based.html">MAGNETIC_BASED</a> module). The <code>pos_algos_common</code> sub-directory contains common localization algorithms like the trilateration method (see the <a class="el" href="group__pos__algos__common.html">POS_ALGOS_COMMON</a> module). The optimization algorithms are localted in the <code>optimization</code> sub-directory providing the following optimization approaches:</p>
...@@ -163,12 +163,12 @@ Localization</h2> ...@@ -163,12 +163,12 @@ Localization</h2>
<li>Multipath Distance Detection and Mitigation (MDDM) algorithm.</li> <li>Multipath Distance Detection and Mitigation (MDDM) algorithm.</li>
</ul> </ul>
<p>See the <a class="el" href="group__localization.html">LOCALIZATION</a> module for more detailed information.</p> <p>See the <a class="el" href="group__localization.html">LOCALIZATION</a> module for more detailed information.</p>
<h2><a class="anchor" id="autotoc_md4"></a> <h2><a class="anchor" id="autotoc_md3"></a>
examples</h2> examples</h2>
<p>Here you find a number of example applications that demonstrate certain features of RcdMathLib. The examples found in this directory is a good starting point for anyone who is new to RcdMathLib.</p> <p>Here you find a number of example applications that demonstrate certain features of RcdMathLib. The examples found in this directory is a good starting point for anyone who is new to RcdMathLib.</p>
<p>For more information best browse that directory and have a look at the <code>README.md</code> files that ship with each example.</p> <p>For more information best browse that directory and have a look at the <code>README.md</code> files that ship with each example.</p>
<p>To create your own application - here or anywhere else - see <a class="el" href="creating-an-application.html">Creating an application</a></p> <p>To create your own application - here or anywhere else - see <a class="el" href="creating-an-application.html">Creating an application</a></p>
<h2><a class="anchor" id="autotoc_md5"></a> <h2><a class="anchor" id="autotoc_md4"></a>
doc</h2> doc</h2>
<p>The <code>doc</code> directory contains the doxygen configuration and also contains the compiled doxygen output after running <code>make doc</code>.</p> <p>The <code>doc</code> directory contains the doxygen configuration and also contains the compiled doxygen output after running <code>make doc</code>.</p>
<h1><a class="anchor" id="further-information"></a> <h1><a class="anchor" id="further-information"></a>
......
...@@ -106,60 +106,61 @@ $(document).ready(function(){initNavTree('lu__decomp__test_8c_source.html','');} ...@@ -106,60 +106,61 @@ $(document).ready(function(){initNavTree('lu__decomp__test_8c_source.html','');}
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="lu__decomp__test_8c.html#a5798fee8a59a44f3a6a712ffd700dfd1"> 29</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="lu__decomp__test_8c.html#a5798fee8a59a44f3a6a712ffd700dfd1">lu_decomp_test</a>(<span class="keywordtype">void</span>)</div> <div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="lu__decomp__test_8c.html#a5798fee8a59a44f3a6a712ffd700dfd1"> 29</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="lu__decomp__test_8c.html#a5798fee8a59a44f3a6a712ffd700dfd1">lu_decomp_test</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> A[5][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 },</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; puts(<span class="stringliteral">&quot;############ Test the LU decomposition algorithm ###############&quot;</span>);</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 },</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> A[5][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 },</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 },</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 },</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; { 0.9134, 0.4854, 0.9340, 0.0462, 0.7952 },</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 },</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; { 0.6324, 0.8003, 0.6787, 0.0971, 0.1869 }, };</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; { 0.9134, 0.4854, 0.9340, 0.0462, 0.7952 },</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; uint8_t n;</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; { 0.6324, 0.8003, 0.6787, 0.0971, 0.1869 }, };</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; uint8_t n;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; n = 5;</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> L[n][n];</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; n = 5;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> P[n][n];</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> L[n][n];</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="lu__decomp_8h.html#a8649e9f4b85f17bf35a22b18e7f239d7">lu_decomp</a>(n, A, L, P);</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> P[n][n];</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; printf(<span class="stringliteral">&quot;L = &quot;</span>);</div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="lu__decomp_8h.html#a8649e9f4b85f17bf35a22b18e7f239d7">lu_decomp</a>(n, A, L, P);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, L, 7, 4);</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; printf(<span class="stringliteral">&quot;L = &quot;</span>);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; printf(<span class="stringliteral">&quot;U = &quot;</span>);</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, L, 7, 4);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, A, 7, 4);</div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; printf(<span class="stringliteral">&quot;U = &quot;</span>);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; printf(<span class="stringliteral">&quot;P = &quot;</span>);</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, A, 7, 4);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, P, 7, 4);</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; printf(<span class="stringliteral">&quot;P = &quot;</span>);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, P, 7, 4);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> B[11][11] = {</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; { 0.4387, 0.6797, 0.5060, 0.2435, 0.9172, 0.1299, 0.2630, 0.9961, 0.2599, 0.1450,</div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> B[11][11] = {</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; 0.4173 },</div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; { 0.4387, 0.6797, 0.5060, 0.2435, 0.9172, 0.1299, 0.2630, 0.9961, 0.2599, 0.1450,</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; { 0.3816, 0.6551, 0.6991, 0.9293, 0.2858, 0.5688, 0.6541, 0.0782, 0.8001, 0.8530,</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; 0.4173 },</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; 0.0497 },</div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; { 0.3816, 0.6551, 0.6991, 0.9293, 0.2858, 0.5688, 0.6541, 0.0782, 0.8001, 0.8530,</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; { 0.7655, 0.1626, 0.8909, 0.3500, 0.7572, 0.4694, 0.6892, 0.4427, 0.4314, 0.6221,</div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; 0.0497 },</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; 0.9027 },</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; { 0.7655, 0.1626, 0.8909, 0.3500, 0.7572, 0.4694, 0.6892, 0.4427, 0.4314, 0.6221,</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; { 0.7952, 0.1190, 0.9593, 0.1966, 0.7537, 0.0119, 0.7482, 0.1067, 0.9106, 0.3510,</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; 0.9027 },</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; 0.9448 },</div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; { 0.7952, 0.1190, 0.9593, 0.1966, 0.7537, 0.0119, 0.7482, 0.1067, 0.9106, 0.3510,</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; { 0.1869, 0.4984, 0.5472, 0.2511, 0.3804, 0.3371, 0.4505, 0.9619, 0.1818, 0.5132,</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; 0.9448 },</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; 0.4909 },</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; { 0.1869, 0.4984, 0.5472, 0.2511, 0.3804, 0.3371, 0.4505, 0.9619, 0.1818, 0.5132,</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; { 0.4898, 0.9597, 0.1386, 0.6160, 0.5678, 0.1622, 0.0838, 0.0046, 0.2638, 0.4018,</div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; 0.4909 },</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; 0.4893 },</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; { 0.4898, 0.9597, 0.1386, 0.6160, 0.5678, 0.1622, 0.0838, 0.0046, 0.2638, 0.4018,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; { 0.4456, 0.3404, 0.1493, 0.4733, 0.0759, 0.7943, 0.2290, 0.7749, 0.1455, 0.0760,</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; 0.4893 },</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; 0.3377 },</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; { 0.4456, 0.3404, 0.1493, 0.4733, 0.0759, 0.7943, 0.2290, 0.7749, 0.1455, 0.0760,</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; { 0.6463, 0.5853, 0.2575, 0.3517, 0.0540, 0.3112, 0.9133, 0.8173, 0.1361, 0.2399,</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; 0.3377 },</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; 0.9001 },</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; { 0.6463, 0.5853, 0.2575, 0.3517, 0.0540, 0.3112, 0.9133, 0.8173, 0.1361, 0.2399,</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; { 0.7094, 0.2238, 0.8407, 0.8308, 0.5308, 0.5285, 0.1524, 0.8687, 0.8693, 0.1233,</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; 0.9001 },</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; 0.3692 },</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; { 0.7094, 0.2238, 0.8407, 0.8308, 0.5308, 0.5285, 0.1524, 0.8687, 0.8693, 0.1233,</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; { 0.7547, 0.7513, 0.2543, 0.5853, 0.7792, 0.1656, 0.8258, 0.0844, 0.5797, 0.1839,</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; 0.3692 },</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; 0.1112 },</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; { 0.7547, 0.7513, 0.2543, 0.5853, 0.7792, 0.1656, 0.8258, 0.0844, 0.5797, 0.1839,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; { 0.2760, 0.2551, 0.8143, 0.5497, 0.9340, 0.6020, 0.5383, 0.3998, 0.5499, 0.2400,</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; 0.1112 },</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; 0.7803 }</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; { 0.2760, 0.2551, 0.8143, 0.5497, 0.9340, 0.6020, 0.5383, 0.3998, 0.5499, 0.2400,</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; };</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; 0.7803 }</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; };</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; n = 11;</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> L1[n][n];</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; n = 11;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> P1[n][n];</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> L1[n][n];</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="lu__decomp_8h.html#a8649e9f4b85f17bf35a22b18e7f239d7">lu_decomp</a>(n, B, L1, P1);</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="matrix_8h.html#af38ac6b76d645fea9abd6caeb4d9dd31">matrix_t</a> P1[n][n];</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; printf(<span class="stringliteral">&quot;L1 = &quot;</span>);</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="lu__decomp_8h.html#a8649e9f4b85f17bf35a22b18e7f239d7">lu_decomp</a>(n, B, L1, P1);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, L1, 7, 4);</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; printf(<span class="stringliteral">&quot;L1 = &quot;</span>);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; printf(<span class="stringliteral">&quot;U1 = &quot;</span>);</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, L1, 7, 4);</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, B, 7, 4);</div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; printf(<span class="stringliteral">&quot;U1 = &quot;</span>);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; printf(<span class="stringliteral">&quot;P1 = &quot;</span>);</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, B, 7, 4);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, P1, 7, 4);</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; printf(<span class="stringliteral">&quot;P1 = &quot;</span>);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;}</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="matrix_8h.html#a82f374a9b8b215f0ef53d35401eae524">matrix_flex_print</a>(n, n, P1, 7, 4);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content --> </div><!-- doc-content -->
<div class="ttc" id="alu__decomp_8h_html"><div class="ttname"><a href="lu__decomp_8h.html">lu_decomp.h</a></div><div class="ttdoc">Computes the LU decomposition of the matrix.</div></div> <div class="ttc" id="alu__decomp_8h_html"><div class="ttname"><a href="lu__decomp_8h.html">lu_decomp.h</a></div><div class="ttdoc">Computes the LU decomposition of the matrix.</div></div>
......
...@@ -28,11 +28,11 @@ var NAVTREE = ...@@ -28,11 +28,11 @@ var NAVTREE =
[ "Download and use RcdMathLib", "index.html#download-use-RcdMathLib", null ], [ "Download and use RcdMathLib", "index.html#download-use-RcdMathLib", null ],
[ "The quickest start", "index.html#the-quickest-start", null ], [ "The quickest start", "index.html#the-quickest-start", null ],
[ "Structure", "index.html#structure", [ [ "Structure", "index.html#structure", [
[ "Linear Algebra", "index.html#autotoc_md1", null ], [ "Linear Algebra", "index.html#autotoc_md0", null ],
[ "Non-Linear Algebra", "index.html#autotoc_md2", null ], [ "Non-Linear Algebra", "index.html#autotoc_md1", null ],
[ "Localization", "index.html#autotoc_md3", null ], [ "Localization", "index.html#autotoc_md2", null ],
[ "examples", "index.html#autotoc_md4", null ], [ "examples", "index.html#autotoc_md3", null ],
[ "doc", "index.html#autotoc_md5", null ] [ "doc", "index.html#autotoc_md4", null ]
] ], ] ],
[ "Further information", "index.html#further-information", null ] [ "Further information", "index.html#further-information", null ]
] ], ] ],
...@@ -47,7 +47,7 @@ var NAVTREE = ...@@ -47,7 +47,7 @@ var NAVTREE =
] ], ] ],
[ "Creating modules", "creating-modules.html", [ [ "Creating modules", "creating-modules.html", [
[ "The general structure", "creating-modules.html#the-general-structure", null ], [ "The general structure", "creating-modules.html#the-general-structure", null ],
[ "Module dependencies", "creating-modules.html#autotoc_md0", null ] [ "Module dependencies", "creating-modules.html#module-dependencies", null ]
] ], ] ],
[ "Getting started", "getting-started.html", [ [ "Getting started", "getting-started.html", [
[ "Downloading RcdMathLib code", "getting-started.html#downloading-RcdMathLib-code", null ], [ "Downloading RcdMathLib code", "getting-started.html#downloading-RcdMathLib-code", null ],
......
...@@ -28,7 +28,7 @@ var NAVTREEINDEX0 = ...@@ -28,7 +28,7 @@ var NAVTREEINDEX0 =
"creating-an-application.html#the-main-function":[1,2], "creating-an-application.html#the-main-function":[1,2],
"creating-an-application.html#the-minimal-makefile":[1,3,0], "creating-an-application.html#the-minimal-makefile":[1,3,0],
"creating-modules.html":[2], "creating-modules.html":[2],
"creating-modules.html#autotoc_md0":[2,1], "creating-modules.html#module-dependencies":[2,1],
"creating-modules.html#the-general-structure":[2,0], "creating-modules.html#the-general-structure":[2,0],
"damped__newton__raphson_8c.html":[6,0,2], "damped__newton__raphson_8c.html":[6,0,2],
"damped__newton__raphson_8c.html#a0cf3dc5e334091bc43820fa1d8e86c14":[6,0,2,0], "damped__newton__raphson_8c.html#a0cf3dc5e334091bc43820fa1d8e86c14":[6,0,2,0],
...@@ -178,11 +178,11 @@ var NAVTREEINDEX0 = ...@@ -178,11 +178,11 @@ var NAVTREEINDEX0 =
"index.html":[], "index.html":[],
"index.html":[0], "index.html":[0],
"index.html#RcdMathLib-in-a-nutshell":[0,0], "index.html#RcdMathLib-in-a-nutshell":[0,0],
"index.html#autotoc_md1":[0,3,0], "index.html#autotoc_md0":[0,3,0],
"index.html#autotoc_md2":[0,3,1], "index.html#autotoc_md1":[0,3,1],
"index.html#autotoc_md3":[0,3,2], "index.html#autotoc_md2":[0,3,2],
"index.html#autotoc_md4":[0,3,3], "index.html#autotoc_md3":[0,3,3],
"index.html#autotoc_md5":[0,3,4], "index.html#autotoc_md4":[0,3,4],
"index.html#download-use-RcdMathLib":[0,1], "index.html#download-use-RcdMathLib":[0,1],
"index.html#further-information":[0,4], "index.html#further-information":[0,4],
"index.html#structure":[0,3], "index.html#structure":[0,3],
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment