banded.html 19 KB

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