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: smat.h File Reference</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 | </div> |
---|
66 | <div class="contents"> |
---|
67 | <h1>smat.h File Reference</h1>Sparse Matrix Class Definitions. |
---|
68 | <a href="#_details">More...</a> |
---|
69 | <p> |
---|
70 | <code>#include <itpp/config.h></code><br> |
---|
71 | <code>#include <<a class="el" href="svec_8h-source.html">itpp/base/svec.h</a>></code><br> |
---|
72 | |
---|
73 | <p> |
---|
74 | <a href="smat_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
75 | <tr><td></td></tr> |
---|
76 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
77 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Sparse__Mat.html">itpp::Sparse_Mat< T ></a></td></tr> |
---|
78 | |
---|
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Templated Sparse Matrix Class. <a href="classitpp_1_1Sparse__Mat.html#_details">More...</a><br></td></tr> |
---|
80 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
81 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
82 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#844df90b541962afdd9c8690af0aa12b">itpp::operator+</a> (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m1+m2 where m1 and m2 are sparse matrices <a href="#844df90b541962afdd9c8690af0aa12b"></a><br></td></tr> |
---|
85 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
86 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#ccbdd285fe35bbd11cdf0151706074e4">itpp::operator*</a> (const T &c, const Sparse_Mat< T > &m)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">c*m where c is a scalar and m is a sparse matrix <a href="#ccbdd285fe35bbd11cdf0151706074e4"></a><br></td></tr> |
---|
89 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
90 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#89004beea8555abaad5591a5f432d799">itpp::operator*</a> (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)</td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m1*m2 where m1 and m2 are sparse matrices <a href="#89004beea8555abaad5591a5f432d799"></a><br></td></tr> |
---|
93 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
94 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Vec< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#ed1b749ca0e1852ce30cf9ffe9f7b0d4">itpp::operator*</a> (const Sparse_Mat< T > &m, const Sparse_Vec< T > &v)</td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m*v where m is a sparse matrix and v is a sparse vector <a href="#ed1b749ca0e1852ce30cf9ffe9f7b0d4"></a><br></td></tr> |
---|
97 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
98 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#db81e068ccab41b540e2db45692b1a4d">itpp::operator*</a> (const Sparse_Mat< T > &m, const Vec< T > &v)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m*v where m is a sparse matrix and v is a full column vector <a href="#db81e068ccab41b540e2db45692b1a4d"></a><br></td></tr> |
---|
101 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
102 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#92e39de1c5ac46c6734773a54407a7ab">itpp::operator*</a> (const Vec< T > &v, const Sparse_Mat< T > &m)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">v'*m where m is a sparse matrix and v is a full column vector <a href="#92e39de1c5ac46c6734773a54407a7ab"></a><br></td></tr> |
---|
105 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
106 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#baba5411155b1c51861fb89f56763c31">itpp::trans_mult</a> (const Sparse_Mat< T > &m)</td></tr> |
---|
107 | |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m'*m where m is a sparse matrix <a href="#baba5411155b1c51861fb89f56763c31"></a><br></td></tr> |
---|
109 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
110 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#9790496f9c784f6b3102a5d48d7e0b86">itpp::trans_mult_s</a> (const Sparse_Mat< T > &m)</td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m'*m where m is a sparse matrix <a href="#9790496f9c784f6b3102a5d48d7e0b86"></a><br></td></tr> |
---|
113 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
114 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#70b8a26e8881bc1d8438b2657522aed3">itpp::trans_mult</a> (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)</td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m1'*m2 where m1 and m2 are sparse matrices <a href="#70b8a26e8881bc1d8438b2657522aed3"></a><br></td></tr> |
---|
117 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
118 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#2b6cc4f502f5999bea979dc27ad97501">itpp::trans_mult</a> (const Sparse_Mat< T > &m, const Vec< T > &v)</td></tr> |
---|
119 | |
---|
120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m'*v where m is a sparse matrix and v is a full column vector <a href="#2b6cc4f502f5999bea979dc27ad97501"></a><br></td></tr> |
---|
121 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
122 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#21f3fdecb7cb43de1fc7d8c0d57e91db">itpp::mult_trans</a> (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)</td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">m1*m2' where m1 and m2 are sparse matrices <a href="#21f3fdecb7cb43de1fc7d8c0d57e91db"></a><br></td></tr> |
---|
125 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dbdbbd9f056810911733b0bdcb8fa5e1"></a><!-- doxytag: member="smat.h::sparse" ref="dbdbbd9f056810911733b0bdcb8fa5e1" args="(const Mat< T > &m, T epsilon)" --> |
---|
126 | template<class T > </td></tr> |
---|
127 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#dbdbbd9f056810911733b0bdcb8fa5e1">itpp::sparse</a> (const Mat< T > &m, T epsilon)</td></tr> |
---|
128 | |
---|
129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a dense matrix <code>m</code> into its sparse representation. <br></td></tr> |
---|
130 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8f724ba391216f55fe4e2992df095d27"></a><!-- doxytag: member="smat.h::full" ref="8f724ba391216f55fe4e2992df095d27" args="(const Sparse_Mat< T > &s)" --> |
---|
131 | template<class T > </td></tr> |
---|
132 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#8f724ba391216f55fe4e2992df095d27">itpp::full</a> (const Sparse_Mat< T > &s)</td></tr> |
---|
133 | |
---|
134 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a sparse matrix <code>s</code> into its dense representation. <br></td></tr> |
---|
135 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="289538f0f5ce788f68cd8fcbb9e07370"></a><!-- doxytag: member="smat.h::transpose" ref="289538f0f5ce788f68cd8fcbb9e07370" args="(const Sparse_Mat< T > &s)" --> |
---|
136 | template<class T > </td></tr> |
---|
137 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Sparse_Mat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#289538f0f5ce788f68cd8fcbb9e07370">itpp::transpose</a> (const Sparse_Mat< T > &s)</td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Transpose a sparse matrix <code>s</code>. <br></td></tr> |
---|
140 | </table> |
---|
141 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
142 | Sparse Matrix Class Definitions. |
---|
143 | <p> |
---|
144 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Tony Ottosson and Tobias Ringstrom</dd></dl> |
---|
145 | -------------------------------------------------------------------------<p> |
---|
146 | Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)<p> |
---|
147 | This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.<p> |
---|
148 | IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p> |
---|
149 | IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> |
---|
150 | You should have received a copy of the GNU General Public License along with IT++. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.<p> |
---|
151 | ------------------------------------------------------------------------- </div> |
---|
152 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by |
---|
153 | <a href="http://www.doxygen.org/index.html"> |
---|
154 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
155 | </body> |
---|
156 | </html> |
---|