1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: lu.h Source File</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="files.html"><span>File List</span></a></li> |
---|
62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
63 | </ul> |
---|
64 | </div> |
---|
65 | <h1>lu.h</h1><a href="lu_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
66 | <a name="l00029"></a>00029 <span class="preprocessor">#ifndef LU_H</span> |
---|
67 | <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define LU_H</span> |
---|
68 | <a name="l00031"></a>00031 <span class="preprocessor"></span> |
---|
69 | <a name="l00032"></a>00032 <span class="preprocessor">#include <<a class="code" href="mat_8h.html" title="Matrix Class Definitions.">itpp/base/mat.h</a>></span> |
---|
70 | <a name="l00033"></a>00033 |
---|
71 | <a name="l00034"></a>00034 |
---|
72 | <a name="l00035"></a>00035 <span class="keyword">namespace </span>itpp |
---|
73 | <a name="l00036"></a>00036 { |
---|
74 | <a name="l00037"></a>00037 |
---|
75 | <a name="l00038"></a>00038 |
---|
76 | <a name="l00041"></a>00041 |
---|
77 | <a name="l00042"></a>00042 |
---|
78 | <a name="l00067"></a>00067 <span class="keywordtype">bool</span> <a class="code" href="group__matrixdecomp.html#g9912a15ea024f75442720c1bf3b5dac1" title="LU factorisation of real matrix.">lu</a>(<span class="keyword">const</span> mat &X, mat &L, mat &U, ivec &p); |
---|
79 | <a name="l00068"></a>00068 |
---|
80 | <a name="l00069"></a>00069 |
---|
81 | <a name="l00095"></a>00095 <span class="keywordtype">bool</span> <a class="code" href="group__matrixdecomp.html#g9912a15ea024f75442720c1bf3b5dac1" title="LU factorisation of real matrix.">lu</a>(<span class="keyword">const</span> cmat &X, cmat &L, cmat &U, ivec &p); |
---|
82 | <a name="l00096"></a>00096 |
---|
83 | <a name="l00097"></a>00097 |
---|
84 | <a name="l00099"></a>00099 <span class="keywordtype">void</span> <a class="code" href="group__matrixdecomp.html#g2d3af51d172dd39a7f8a631a17120057" title="Makes swapping of vector b according to the interchange permutation vector p.">interchange_permutations</a>(vec &b, <span class="keyword">const</span> ivec &p); |
---|
85 | <a name="l00100"></a>00100 |
---|
86 | <a name="l00102"></a>00102 <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> <a class="code" href="group__matrixdecomp.html#gb6e7ba47c63173084cf0cb6bebbff508" title="Make permutation matrix P from the interchange permutation vector p.">permutation_matrix</a>(<span class="keyword">const</span> ivec &p); |
---|
87 | <a name="l00104"></a>00104 |
---|
88 | <a name="l00105"></a>00105 } <span class="comment">// namespace itpp</span> |
---|
89 | <a name="l00106"></a>00106 |
---|
90 | <a name="l00107"></a>00107 <span class="preprocessor">#endif // #ifndef LU_H</span> |
---|
91 | </pre></div></div> |
---|
92 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:12 2009 for mixpp by |
---|
93 | <a href="http://www.doxygen.org/index.html"> |
---|
94 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
95 | </body> |
---|
96 | </html> |
---|