hermitian.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta name="generator" content=
  6. "HTML Tidy for Linux/x86 (vers 1st March 2004), see www.w3.org" />
  7. <meta http-equiv="Content-Type" content=
  8. "text/html; charset=us-ascii" />
  9. <link rel="stylesheet" href="../../../../boost.css" type="text/css"/>
  10. <link rel="stylesheet" href="ublas.css" type="text/css" />
  11. <script type="text/javascript" src="js/jquery-1.3.2.min.js" async="async" ></script>
  12. <script type="text/javascript" src="js/jquery.toc-gw.js" async="async" ></script>
  13. <title>Hermitian Matrix</title>
  14. </head>
  15. <body>
  16. <h1><img src="../../../../boost.png" align="middle" />Hermitian Matrix</h1>
  17. <div class="toc" id="toc"></div>
  18. <h2><a name="hermitian_matrix"></a>Hermitian Matrix</h2>
  19. <h4>Description</h4>
  20. <p>The templated class <code>hermitian_matrix&lt;T, F1, F2,
  21. A&gt;</code> is the base container adaptor for hermitian matrices.
  22. For a <em>(n x n</em> )-dimensional hermitian matrix and <em>0
  23. &lt;= i &lt; n</em>, <em>0 &lt;= j &lt; n</em> holds
  24. <em>h</em><sub><em>i, j</em></sub> <em>= h</em><sub><em>j,
  25. i</em></sub><sup><em>-</em></sup>. The storage of hermitian
  26. matrices is packed.</p>
  27. <h4>Example</h4>
  28. <pre>
  29. #include &lt;boost/numeric/ublas/hermitian.hpp&gt;
  30. #include &lt;boost/numeric/ublas/io.hpp&gt;
  31. int main () {
  32. using namespace boost::numeric::ublas;
  33. hermitian_matrix&lt;std::complex&lt;double&gt;, lower&gt; ml (3, 3);
  34. for (unsigned i = 0; i &lt; ml.size1 (); ++ i) {
  35. for (unsigned j = 0; j &lt; i; ++ j)
  36. ml (i, j) = std::complex&lt;double&gt; (3 * i + j, 3 * i + j);
  37. ml (i, i) = std::complex&lt;double&gt; (4 * i, 0);
  38. }
  39. std::cout &lt;&lt; ml &lt;&lt; std::endl;
  40. hermitian_matrix&lt;std::complex&lt;double&gt;, upper&gt; mu (3, 3);
  41. for (unsigned i = 0; i &lt; mu.size1 (); ++ i) {
  42. mu (i, i) = std::complex&lt;double&gt; (4 * i, 0);
  43. for (unsigned j = i + 1; j &lt; mu.size2 (); ++ j)
  44. mu (i, j) = std::complex&lt;double&gt; (3 * i + j, 3 * i + j);
  45. }
  46. std::cout &lt;&lt; mu &lt;&lt; std::endl;
  47. }
  48. </pre>
  49. <h4>Definition</h4>
  50. <p>Defined in the header hermitian.hpp.</p>
  51. <h4>Template parameters</h4>
  52. <table border="1" summary="parameters">
  53. <tbody>
  54. <tr>
  55. <th>Parameter</th>
  56. <th>Description</th>
  57. <th>Default</th>
  58. </tr>
  59. <tr>
  60. <td><code>T</code></td>
  61. <td>The type of object stored in the matrix.</td>
  62. <td></td>
  63. </tr>
  64. <tr>
  65. <td><code>F1</code></td>
  66. <td>Functor describing the type of the hermitian matrix. <a href=
  67. "#hermitian_matrix_1">[1]</a></td>
  68. <td><code>lower</code></td>
  69. </tr>
  70. <tr>
  71. <td><code>F2</code></td>
  72. <td>Functor describing the storage organization. <a href=
  73. "#hermitian_matrix_2">[2]</a></td>
  74. <td><code>row_major</code></td>
  75. </tr>
  76. <tr>
  77. <td><code>A</code></td>
  78. <td>The type of the adapted array. <a href=
  79. "#hermitian_matrix_3">[3]</a></td>
  80. <td><code>unbounded_array&lt;T&gt;</code></td>
  81. </tr>
  82. </tbody>
  83. </table>
  84. <h4>Model of</h4>
  85. <p><a href="container_concept.html#matrix">Matrix</a> .</p>
  86. <h4>Type requirements</h4>
  87. <p>None, except for those imposed by the requirements of <a href=
  88. "container_concept.html#matrix">Matrix</a> .</p>
  89. <h4>Public base classes</h4>
  90. <p><code>matrix_container&lt;hermitian_matrix&lt;T, F1, F2, A&gt;
  91. &gt;</code></p>
  92. <h4>Members</h4>
  93. <table border="1" summary="members">
  94. <tbody>
  95. <tr>
  96. <th>Member</th>
  97. <th>Description</th>
  98. </tr>
  99. <tr>
  100. <td><code>hermitian_matrix ()</code></td>
  101. <td>Allocates an uninitialized <code>hermitian_matrix</code> that
  102. holds zero rows of zero elements.</td>
  103. </tr>
  104. <tr>
  105. <td><code>hermitian_matrix (size_type size)</code></td>
  106. <td>Allocates an uninitialized <code>hermitian_matrix</code> that
  107. holds <code>size</code> rows of <code>size</code> elements.</td>
  108. </tr>
  109. <tr>
  110. <td><code>hermitian_matrix (const hermitian_matrix
  111. &amp;m)</code></td>
  112. <td>The copy constructor.</td>
  113. </tr>
  114. <tr>
  115. <td><code>template&lt;class AE&gt;<br />
  116. hermitian_matrix (const matrix_expression&lt;AE&gt;
  117. &amp;ae)</code></td>
  118. <td>The extended copy constructor.</td>
  119. </tr>
  120. <tr>
  121. <td><code>void resize (size_type size, bool preserve =
  122. true)</code></td>
  123. <td>Reallocates a <code>hermitian_matrix</code> to hold
  124. <code>size</code> rows of <code>size</code> elements. The existing
  125. elements of the <code>hermitian_matrix</code> are preseved when
  126. specified.</td>
  127. </tr>
  128. <tr>
  129. <td><code>size_type size1 () const</code></td>
  130. <td>Returns the number of rows.</td>
  131. </tr>
  132. <tr>
  133. <td><code>size_type size2 () const</code></td>
  134. <td>Returns the number of columns.</td>
  135. </tr>
  136. <tr>
  137. <td><code>const_reference operator () (size_type i, size_type j)
  138. const</code></td>
  139. <td>Returns a <code>const</code> reference of the <code>j</code>
  140. -th element in the <code>i</code>-th row.</td>
  141. </tr>
  142. <tr>
  143. <td><code>reference operator () (size_type i, size_type
  144. j)</code></td>
  145. <td>Returns a reference of the <code>j</code>-th element in the
  146. <code>i</code>-th row.</td>
  147. </tr>
  148. <tr>
  149. <td><code>hermitian_matrix &amp;operator = (const hermitian_matrix
  150. &amp;m)</code></td>
  151. <td>The assignment operator.</td>
  152. </tr>
  153. <tr>
  154. <td><code>hermitian_matrix &amp;assign_temporary (hermitian_matrix
  155. &amp;m)</code></td>
  156. <td>Assigns a temporary. May change the hermitian matrix
  157. <code>m</code> .</td>
  158. </tr>
  159. <tr>
  160. <td><code>template&lt;class AE&gt;<br />
  161. hermitian_matrix &amp;operator = (const matrix_expression&lt;AE&gt;
  162. &amp;ae)</code></td>
  163. <td>The extended assignment operator.</td>
  164. </tr>
  165. <tr>
  166. <td><code>template&lt;class AE&gt;<br />
  167. hermitian_matrix &amp;assign (const matrix_expression&lt;AE&gt;
  168. &amp;ae)</code></td>
  169. <td>Assigns a matrix expression to the hermitian matrix. Left and
  170. right hand side of the assignment should be independent.</td>
  171. </tr>
  172. <tr>
  173. <td><code>template&lt;class AE&gt;<br />
  174. hermitian_matrix &amp;operator += (const
  175. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  176. <td>A computed assignment operator. Adds the matrix expression to
  177. the hermitian matrix.</td>
  178. </tr>
  179. <tr>
  180. <td><code>template&lt;class AE&gt;<br />
  181. hermitian_matrix &amp;plus_assign (const
  182. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  183. <td>Adds a matrix expression to the hermitian matrix. Left and
  184. right hand side of the assignment should be independent.</td>
  185. </tr>
  186. <tr>
  187. <td><code>template&lt;class AE&gt;<br />
  188. hermitian_matrix &amp;operator -= (const
  189. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  190. <td>A computed assignment operator. Subtracts the matrix expression
  191. from the hermitian matrix.</td>
  192. </tr>
  193. <tr>
  194. <td><code>template&lt;class AE&gt;<br />
  195. hermitian_matrix &amp;minus_assign (const
  196. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  197. <td>Subtracts a matrix expression from the hermitian matrix. Left
  198. and right hand side of the assignment should be independent.</td>
  199. </tr>
  200. <tr>
  201. <td><code>template&lt;class AT&gt;<br />
  202. hermitian_matrix &amp;operator *= (const AT &amp;at)</code></td>
  203. <td>A computed assignment operator. Multiplies the hermitian matrix
  204. with a scalar.</td>
  205. </tr>
  206. <tr>
  207. <td><code>template&lt;class AT&gt;<br />
  208. hermitian_matrix &amp;operator /= (const AT &amp;at)</code></td>
  209. <td>A computed assignment operator. Divides the hermitian matrix
  210. through a scalar.</td>
  211. </tr>
  212. <tr>
  213. <td><code>void swap (hermitian_matrix &amp;m)</code></td>
  214. <td>Swaps the contents of the hermitian matrices.</td>
  215. </tr>
  216. <tr>
  217. <td><code>void insert (size_type i, size_type j, const_reference
  218. t)</code></td>
  219. <td>Inserts the value <code>t</code> at the <code>j</code>-th
  220. element of the <code>i</code>-th row.</td>
  221. </tr>
  222. <tr>
  223. <td><code>void erase (size_type i, size_type j)</code></td>
  224. <td>Erases the value at the <code>j</code>-th elemenst of the
  225. <code>i</code>-th row.</td>
  226. </tr>
  227. <tr>
  228. <td><code>void clear ()</code></td>
  229. <td>Clears the matrix.</td>
  230. </tr>
  231. <tr>
  232. <td><code>const_iterator1 begin1 () const</code></td>
  233. <td>Returns a <code>const_iterator1</code> pointing to the
  234. beginning of the <code>hermitian_matrix</code>.</td>
  235. </tr>
  236. <tr>
  237. <td><code>const_iterator1 end1 () const</code></td>
  238. <td>Returns a <code>const_iterator1</code> pointing to the end of
  239. the <code>hermitian_matrix</code>.</td>
  240. </tr>
  241. <tr>
  242. <td><code>iterator1 begin1 ()</code></td>
  243. <td>Returns a <code>iterator1</code> pointing to the beginning of
  244. the <code>hermitian_matrix</code>.</td>
  245. </tr>
  246. <tr>
  247. <td><code>iterator1 end1 ()</code></td>
  248. <td>Returns a <code>iterator1</code> pointing to the end of the
  249. <code>hermitian_matrix</code>.</td>
  250. </tr>
  251. <tr>
  252. <td><code>const_iterator2 begin2 () const</code></td>
  253. <td>Returns a <code>const_iterator2</code> pointing to the
  254. beginning of the <code>hermitian_matrix</code>.</td>
  255. </tr>
  256. <tr>
  257. <td><code>const_iterator2 end2 () const</code></td>
  258. <td>Returns a <code>const_iterator2</code> pointing to the end of
  259. the <code>hermitian_matrix</code>.</td>
  260. </tr>
  261. <tr>
  262. <td><code>iterator2 begin2 ()</code></td>
  263. <td>Returns a <code>iterator2</code> pointing to the beginning of
  264. the <code>hermitian_matrix</code>.</td>
  265. </tr>
  266. <tr>
  267. <td><code>iterator2 end2 ()</code></td>
  268. <td>Returns a <code>iterator2</code> pointing to the end of the
  269. <code>hermitian_matrix</code>.</td>
  270. </tr>
  271. <tr>
  272. <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
  273. <td>Returns a <code>const_reverse_iterator1</code> pointing to the
  274. beginning of the reversed <code>hermitian_matrix</code>.</td>
  275. </tr>
  276. <tr>
  277. <td><code>const_reverse_iterator1 rend1 () const</code></td>
  278. <td>Returns a <code>const_reverse_iterator1</code> pointing to the
  279. end of the reversed <code>hermitian_matrix</code>.</td>
  280. </tr>
  281. <tr>
  282. <td><code>reverse_iterator1 rbegin1 ()</code></td>
  283. <td>Returns a <code>reverse_iterator1</code> pointing to the
  284. beginning of the reversed <code>hermitian_matrix</code>.</td>
  285. </tr>
  286. <tr>
  287. <td><code>reverse_iterator1 rend1 ()</code></td>
  288. <td>Returns a <code>reverse_iterator1</code> pointing to the end of
  289. the reversed <code>hermitian_matrix</code>.</td>
  290. </tr>
  291. <tr>
  292. <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
  293. <td>Returns a <code>const_reverse_iterator2</code> pointing to the
  294. beginning of the reversed <code>hermitian_matrix</code>.</td>
  295. </tr>
  296. <tr>
  297. <td><code>const_reverse_iterator2 rend2 () const</code></td>
  298. <td>Returns a <code>const_reverse_iterator2</code> pointing to the
  299. end of the reversed <code>hermitian_matrix</code>.</td>
  300. </tr>
  301. <tr>
  302. <td><code>reverse_iterator2 rbegin2 ()</code></td>
  303. <td>Returns a <code>reverse_iterator2</code> pointing to the
  304. beginning of the reversed <code>hermitian_matrix</code>.</td>
  305. </tr>
  306. <tr>
  307. <td><code>reverse_iterator2 rend2 ()</code></td>
  308. <td>Returns a <code>reverse_iterator2</code> pointing to the end of
  309. the reversed <code>hermitian_matrix</code>.</td>
  310. </tr>
  311. </tbody>
  312. </table>
  313. <h4>Notes</h4>
  314. <p><a name="hermitian_matrix_1" id="hermitian_matrix_1">[1]</a>
  315. Supported parameters for the type of the hermitian matrix are
  316. <code>lower</code> and <code>upper</code>.</p>
  317. <p><a name="hermitian_matrix_2" id="hermitian_matrix_2">[2]</a>
  318. Supported parameters for the storage organization are
  319. <code>row_major</code> and <code>column_major</code>.</p>
  320. <p><a name="hermitian_matrix_3" id="hermitian_matrix_3">[3]</a>
  321. Supported parameters for the adapted array are
  322. <code>unbounded_array&lt;T&gt;</code> ,
  323. <code>bounded_array&lt;T&gt;</code> and
  324. <code>std::vector&lt;T&gt;</code> .</p>
  325. <h2><a name="hermitian_adaptor"></a>Hermitian Adaptor</h2>
  326. <h4>Description</h4>
  327. <p>The templated class <code>hermitian_adaptor&lt;M, F&gt;</code>
  328. is a hermitian matrix adaptor for other matrices.</p>
  329. <h4>Example</h4>
  330. <pre>
  331. #include &lt;boost/numeric/ublas/hermitian.hpp&gt;
  332. #include &lt;boost/numeric/ublas/io.hpp&gt;
  333. int main () {
  334. using namespace boost::numeric::ublas;
  335. matrix&lt;std::complex&lt;double&gt; &gt; m (3, 3);
  336. hermitian_adaptor&lt;matrix&lt;std::complex&lt;double&gt; &gt;, lower&gt; hal (m);
  337. for (unsigned i = 0; i &lt; hal.size1 (); ++ i) {
  338. for (unsigned j = 0; j &lt; i; ++ j)
  339. hal (i, j) = std::complex&lt;double&gt; (3 * i + j, 3 * i + j);
  340. hal (i, i) = std::complex&lt;double&gt; (4 * i, 0);
  341. }
  342. std::cout &lt;&lt; hal &lt;&lt; std::endl;
  343. hermitian_adaptor&lt;matrix&lt;std::complex&lt;double&gt; &gt;, upper&gt; hau (m);
  344. for (unsigned i = 0; i &lt; hau.size1 (); ++ i) {
  345. hau (i, i) = std::complex&lt;double&gt; (4 * i, 0);
  346. for (unsigned j = i + 1; j &lt; hau.size2 (); ++ j)
  347. hau (i, j) = std::complex&lt;double&gt; (3 * i + j, 3 * i + j);
  348. }
  349. std::cout &lt;&lt; hau &lt;&lt; std::endl;
  350. }
  351. </pre>
  352. <h4>Definition</h4>
  353. <p>Defined in the header hermitian.hpp.</p>
  354. <h4>Template parameters</h4>
  355. <table border="1" summary="parameters">
  356. <tbody>
  357. <tr>
  358. <th>Parameter</th>
  359. <th>Description</th>
  360. <th>Default</th>
  361. </tr>
  362. <tr>
  363. <td><code>M</code></td>
  364. <td>The type of the adapted matrix.</td>
  365. <td></td>
  366. </tr>
  367. <tr>
  368. <td><code>F</code></td>
  369. <td>Functor describing the type of the hermitian adaptor. <a href=
  370. "#hermitian_adaptor_1">[1]</a></td>
  371. <td><code>lower</code></td>
  372. </tr>
  373. </tbody>
  374. </table>
  375. <h4>Model of</h4>
  376. <p><a href="expression_concept.html#matrix_expression">Matrix Expression</a>
  377. .</p>
  378. <h4>Type requirements</h4>
  379. <p>None, except for those imposed by the requirements of <a href=
  380. "expression_concept.html#matrix_expression">Matrix Expression</a> .</p>
  381. <h4>Public base classes</h4>
  382. <p><code>matrix_expression&lt;hermitian_adaptor&lt;M, F&gt;
  383. &gt;</code></p>
  384. <h4>Members</h4>
  385. <table border="1" summary="members">
  386. <tbody>
  387. <tr>
  388. <th>Member</th>
  389. <th>Description</th>
  390. </tr>
  391. <tr>
  392. <td><code>hermitian_adaptor (matrix_type &amp;data)</code></td>
  393. <td>Constructs a <code>hermitian_adaptor</code> of a matrix.</td>
  394. </tr>
  395. <tr>
  396. <td><code>hermitian_adaptor (const hermitian_adaptor
  397. &amp;m)</code></td>
  398. <td>The copy constructor.</td>
  399. </tr>
  400. <tr>
  401. <td><code>template&lt;class AE&gt;<br />
  402. hermitian_adaptor (const matrix_expression&lt;AE&gt;
  403. &amp;ae)</code></td>
  404. <td>The extended copy constructor.</td>
  405. </tr>
  406. <tr>
  407. <td><code>size_type size1 () const</code></td>
  408. <td>Returns the number of rows.</td>
  409. </tr>
  410. <tr>
  411. <td><code>size_type size2 () const</code></td>
  412. <td>Returns the number of columns.</td>
  413. </tr>
  414. <tr>
  415. <td><code>const_reference operator () (size_type i, size_type j)
  416. const</code></td>
  417. <td>Returns a <code>const</code> reference of the <code>j</code>
  418. -th element in the <code>i</code>-th row.</td>
  419. </tr>
  420. <tr>
  421. <td><code>reference operator () (size_type i, size_type
  422. j)</code></td>
  423. <td>Returns a reference of the <code>j</code>-th element in the
  424. <code>i</code>-th row.</td>
  425. </tr>
  426. <tr>
  427. <td><code>hermitian_adaptor &amp;operator = (const
  428. hermitian_adaptor &amp;m)</code></td>
  429. <td>The assignment operator.</td>
  430. </tr>
  431. <tr>
  432. <td><code>hermitian_adaptor &amp;assign_temporary
  433. (hermitian_adaptor &amp;m)</code></td>
  434. <td>Assigns a temporary. May change the hermitian adaptor
  435. <code>m</code>.</td>
  436. </tr>
  437. <tr>
  438. <td><code>template&lt;class AE&gt;<br />
  439. hermitian_adaptor &amp;operator = (const
  440. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  441. <td>The extended assignment operator.</td>
  442. </tr>
  443. <tr>
  444. <td><code>template&lt;class AE&gt;<br />
  445. hermitian_adaptor &amp;assign (const matrix_expression&lt;AE&gt;
  446. &amp;ae)</code></td>
  447. <td>Assigns a matrix expression to the hermitian adaptor. Left and
  448. right hand side of the assignment should be independent.</td>
  449. </tr>
  450. <tr>
  451. <td><code>template&lt;class AE&gt;<br />
  452. hermitian_adaptor &amp;operator += (const
  453. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  454. <td>A computed assignment operator. Adds the matrix expression to
  455. the hermitian adaptor.</td>
  456. </tr>
  457. <tr>
  458. <td><code>template&lt;class AE&gt;<br />
  459. hermitian_adaptor &amp;plus_assign (const
  460. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  461. <td>Adds a matrix expression to the hermitian adaptor. Left and
  462. right hand side of the assignment should be independent.</td>
  463. </tr>
  464. <tr>
  465. <td><code>template&lt;class AE&gt;<br />
  466. hermitian_adaptor &amp;operator -= (const
  467. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  468. <td>A computed assignment operator. Subtracts the matrix expression
  469. from the hermitian adaptor.</td>
  470. </tr>
  471. <tr>
  472. <td><code>template&lt;class AE&gt;<br />
  473. hermitian_adaptor &amp;minus_assign (const
  474. matrix_expression&lt;AE&gt; &amp;ae)</code></td>
  475. <td>Subtracts a matrix expression from the hermitian adaptor. Left
  476. and right hand side of the assignment should be independent.</td>
  477. </tr>
  478. <tr>
  479. <td><code>template&lt;class AT&gt;<br />
  480. hermitian_adaptor &amp;operator *= (const AT &amp;at)</code></td>
  481. <td>A computed assignment operator. Multiplies the hermitian
  482. adaptor with a scalar.</td>
  483. </tr>
  484. <tr>
  485. <td><code>template&lt;class AT&gt;<br />
  486. hermitian_adaptor &amp;operator /= (const AT &amp;at)</code></td>
  487. <td>A computed assignment operator. Divides the hermitian adaptor
  488. through a scalar.</td>
  489. </tr>
  490. <tr>
  491. <td><code>void swap (hermitian_adaptor &amp;m)</code></td>
  492. <td>Swaps the contents of the hermitian adaptors.</td>
  493. </tr>
  494. <tr>
  495. <td><code>const_iterator1 begin1 () const</code></td>
  496. <td>Returns a <code>const_iterator1</code> pointing to the
  497. beginning of the <code>hermitian_adaptor</code>.</td>
  498. </tr>
  499. <tr>
  500. <td><code>const_iterator1 end1 () const</code></td>
  501. <td>Returns a <code>const_iterator1</code> pointing to the end of
  502. the <code>hermitian_adaptor</code>.</td>
  503. </tr>
  504. <tr>
  505. <td><code>iterator1 begin1 ()</code></td>
  506. <td>Returns a <code>iterator1</code> pointing to the beginning of
  507. the <code>hermitian_adaptor</code>.</td>
  508. </tr>
  509. <tr>
  510. <td><code>iterator1 end1 ()</code></td>
  511. <td>Returns a <code>iterator1</code> pointing to the end of the
  512. <code>hermitian_adaptor</code>.</td>
  513. </tr>
  514. <tr>
  515. <td><code>const_iterator2 begin2 () const</code></td>
  516. <td>Returns a <code>const_iterator2</code> pointing to the
  517. beginning of the <code>hermitian_adaptor</code>.</td>
  518. </tr>
  519. <tr>
  520. <td><code>const_iterator2 end2 () const</code></td>
  521. <td>Returns a <code>const_iterator2</code> pointing to the end of
  522. the <code>hermitian_adaptor</code>.</td>
  523. </tr>
  524. <tr>
  525. <td><code>iterator2 begin2 ()</code></td>
  526. <td>Returns a <code>iterator2</code> pointing to the beginning of
  527. the <code>hermitian_adaptor</code>.</td>
  528. </tr>
  529. <tr>
  530. <td><code>iterator2 end2 ()</code></td>
  531. <td>Returns a <code>iterator2</code> pointing to the end of the
  532. <code>hermitian_adaptor</code>.</td>
  533. </tr>
  534. <tr>
  535. <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
  536. <td>Returns a <code>const_reverse_iterator1</code> pointing to the
  537. beginning of the reversed <code>hermitian_adaptor</code>.</td>
  538. </tr>
  539. <tr>
  540. <td><code>const_reverse_iterator1 rend1 () const</code></td>
  541. <td>Returns a <code>const_reverse_iterator1</code> pointing to the
  542. end of the reversed <code>hermitian_adaptor</code>.</td>
  543. </tr>
  544. <tr>
  545. <td><code>reverse_iterator1 rbegin1 ()</code></td>
  546. <td>Returns a <code>reverse_iterator1</code> pointing to the
  547. beginning of the reversed <code>hermitian_adaptor</code>.</td>
  548. </tr>
  549. <tr>
  550. <td><code>reverse_iterator1 rend1 ()</code></td>
  551. <td>Returns a <code>reverse_iterator1</code> pointing to the end of
  552. the reversed <code>hermitian_adaptor</code>.</td>
  553. </tr>
  554. <tr>
  555. <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
  556. <td>Returns a <code>const_reverse_iterator2</code> pointing to the
  557. beginning of the reversed <code>hermitian_adaptor</code>.</td>
  558. </tr>
  559. <tr>
  560. <td><code>const_reverse_iterator2 rend2 () const</code></td>
  561. <td>Returns a <code>const_reverse_iterator2</code> pointing to the
  562. end of the reversed <code>hermitian_adaptor</code>.</td>
  563. </tr>
  564. <tr>
  565. <td><code>reverse_iterator2 rbegin2 ()</code></td>
  566. <td>Returns a <code>reverse_iterator2</code> pointing to the
  567. beginning of the reversed <code>hermitian_adaptor</code>.</td>
  568. </tr>
  569. <tr>
  570. <td><code>reverse_iterator2 rend2 ()</code></td>
  571. <td>Returns a <code>reverse_iterator2</code> pointing to the end of
  572. the reversed <code>hermitian_adaptor</code>.</td>
  573. </tr>
  574. </tbody>
  575. </table>
  576. <h4>Notes</h4>
  577. <p><a name="hermitian_adaptor_1" id="hermitian_adaptor_1">[1]</a>
  578. Supported parameters for the type of the hermitian adaptor are
  579. <code>lower</code> and <code>upper</code>.</p>
  580. <hr />
  581. <p>Copyright (&copy;) 2000-2002 Joerg Walter, Mathias Koch<br />
  582. Use, modification and distribution are subject to the
  583. Boost Software License, Version 1.0.
  584. (See accompanying file LICENSE_1_0.txt
  585. or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
  586. http://www.boost.org/LICENSE_1_0.txt
  587. </a>).
  588. </p>
  589. <script type="text/javascript">
  590. (function($) {
  591. $('#toc').toc();
  592. })(jQuery);
  593. </script>
  594. </body>
  595. </html>