Lines Matching full:code
20 <p>The templated class <code>banded_matrix<T, F, A></code> is
52 <td><code>T</code></td>
57 <td><code>F</code></td>
60 <td><code>row_major</code></td>
63 <td><code>A</code></td>
66 <td><code>unbounded_array<T></code></td>
76 <p><code>matrix_container<banded_matrix<T, F, A>
77 ></code></p>
86 <td><code>banded_matrix ()</code></td>
87 <td>Allocates an uninitialized <code>banded_matrix</code> that
91 <td><code>banded_matrix (size_type size1, size_type size2,
92 size_type lower = 0, size_type upper = 0)</code></td>
93 <td>Allocates an uninitialized <code>banded_matrix</code> that
94 holds <code>(lower + 1 + upper)</code> diagonals around the main
95 diagonal of a matrix with <code>size1</code> rows of
96 <code>size2</code> elements.</td>
99 <td><code>banded_matrix (const banded_matrix &m)</code></td>
103 <td><code>template<class AE><br />
105 &ae)</code></td>
109 <td><code>void resize (size_type size1, size_type size2, size_type
110 lower = 0, size_type upper = 0, bool preserve = true)</code></td>
111 <td>Reallocates a <code>banded_matrix</code> to hold <code>(lower +
112 1 + upper)</code> diagonals around the main diagonal of a matrix
113 with <code>size1</code> rows of <code>size2</code> elements. The
114 existing elements of the <code>banded_matrix</code> are preseved
118 <td><code>size_type size1 () const</code></td>
122 <td><code>size_type size2 () const</code></td>
126 <td><code>size_type lower () const</code></td>
130 <td><code>size_type upper () const</code></td>
134 <td><code>const_reference operator () (size_type i, size_type j)
135 const</code></td>
136 <td>Returns a <code>const</code> reference of the <code>j</code>
137 -th element in the <code>i</code>-th row.</td>
140 <td><code>reference operator () (size_type i, size_type
141 j)</code></td>
142 <td>Returns a reference of the <code>j</code>-th element in the
143 <code>i</code>-th row.</td>
146 <td><code>banded_matrix &operator = (const banded_matrix
147 &m)</code></td>
151 <td><code>banded_matrix &assign_temporary (banded_matrix
152 &m)</code></td>
154 <code>m</code> .</td>
157 <td><code>template<class AE><br />
159 &ae)</code></td>
163 <td><code>template<class AE><br />
165 &ae)</code></td>
170 <td><code>template<class AE><br />
172 &ae)</code></td>
177 <td><code>template<class AE><br />
179 &ae)</code></td>
184 <td><code>template<class AE><br />
186 &ae)</code></td>
191 <td><code>template<class AE><br />
193 &ae)</code></td>
198 <td><code>template<class AT><br />
199 banded_matrix &operator *= (const AT &at)</code></td>
204 <td><code>template<class AT><br />
205 banded_matrix &operator /= (const AT &at)</code></td>
210 <td><code>void swap (banded_matrix &m)</code></td>
214 <td><code>void insert (size_type i, size_type j, const_reference
215 t)</code></td>
216 <td>Inserts the value <code>t</code> at the <code>j</code>-th
217 element of the <code>i</code>-th row.</td>
220 <td><code>void erase (size_type i, size_type j)</code></td>
221 <td>Erases the value at the <code>j</code>-th elemenst of the
222 <code>i</code>-th row.</td>
225 <td><code>void clear ()</code></td>
229 <td><code>const_iterator1 begin1 () const</code></td>
230 <td>Returns a <code>const_iterator1</code> pointing to the
231 beginning of the <code>banded_matrix</code>.</td>
234 <td><code>const_iterator1 end1 () const</code></td>
235 <td>Returns a <code>const_iterator1</code> pointing to the end of
236 the <code>banded_matrix</code>.</td>
239 <td><code>iterator1 begin1 ()</code></td>
240 <td>Returns a <code>iterator1</code> pointing to the beginning of
241 the <code>banded_matrix</code>.</td>
244 <td><code>iterator1 end1 ()</code></td>
245 <td>Returns a <code>iterator1</code> pointing to the end of the
246 <code>banded_matrix</code>.</td>
249 <td><code>const_iterator2 begin2 () const</code></td>
250 <td>Returns a <code>const_iterator2</code> pointing to the
251 beginning of the <code>banded_matrix</code>.</td>
254 <td><code>const_iterator2 end2 () const</code></td>
255 <td>Returns a <code>const_iterator2</code> pointing to the end of
256 the <code>banded_matrix</code>.</td>
259 <td><code>iterator2 begin2 ()</code></td>
260 <td>Returns a <code>iterator2</code> pointing to the beginning of
261 the <code>banded_matrix</code>.</td>
264 <td><code>iterator2 end2 ()</code></td>
265 <td>Returns a <code>iterator2</code> pointing to the end of the
266 <code>banded_matrix</code>.</td>
269 <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
270 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
271 beginning of the reversed <code>banded_matrix</code>.</td>
274 <td><code>const_reverse_iterator1 rend1 () const</code></td>
275 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
276 end of the reversed <code>banded_matrix</code>.</td>
279 <td><code>reverse_iterator1 rbegin1 ()</code></td>
280 <td>Returns a <code>reverse_iterator1</code> pointing to the
281 beginning of the reversed <code>banded_matrix</code>.</td>
284 <td><code>reverse_iterator1 rend1 ()</code></td>
285 <td>Returns a <code>reverse_iterator1</code> pointing to the end of
286 the reversed <code>banded_matrix</code>.</td>
289 <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
290 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
291 beginning of the reversed <code>banded_matrix</code>.</td>
294 <td><code>const_reverse_iterator2 rend2 () const</code></td>
295 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
296 end of the reversed <code>banded_matrix</code>.</td>
299 <td><code>reverse_iterator2 rbegin2 ()</code></td>
300 <td>Returns a <code>reverse_iterator2</code> pointing to the
301 beginning of the reversed <code>banded_matrix</code>.</td>
304 <td><code>reverse_iterator2 rend2 ()</code></td>
305 <td>Returns a <code>reverse_iterator2</code> pointing to the end of
306 the reversed <code>banded_matrix</code>.</td>
312 parameters for the storage organization are <code>row_major</code>
313 and <code>column_major</code>.</p>
316 <code>unbounded_array<T></code> ,
317 <code>bounded_array<T></code> and
318 <code>std::vector<T></code> .</p>
321 <p>The templated class <code>banded_adaptor<M></code> is a
349 <td><code>M</code></td>
362 <p><code>matrix_expression<banded_adaptor<M>
363 ></code></p>
372 <td><code>banded_adaptor (matrix_type &data, size_type lower =
373 0, size_type upper = 0)</code></td>
374 <td>Constructs a <code>banded_adaptor</code> that holds
375 <code>(lower + 1 + upper)</code> diagonals around the main diagonal
379 <td><code>banded_adaptor (const banded_adaptor &m)</code></td>
383 <td><code>template<class AE><br />
385 &ae)</code></td>
389 <td><code>size_type size1 () const</code></td>
393 <td><code>size_type size2 () const</code></td>
397 <td><code>size_type lower () const</code></td>
401 <td><code>size_type upper () const</code></td>
405 <td><code>const_reference operator () (size_type i, size_type j)
406 const</code></td>
407 <td>Returns a <code>const</code> reference of the <code>j</code>
408 -th element in the <code>i</code>-th row.</td>
411 <td><code>reference operator () (size_type i, size_type
412 j)</code></td>
413 <td>Returns a reference of the <code>j</code>-th element in the
414 <code>i</code>-th row.</td>
417 <td><code>banded_adaptor &operator = (const banded_adaptor
418 &m)</code></td>
422 <td><code>banded_adaptor &assign_temporary (banded_adaptor
423 &m)</code></td>
425 <code>m</code> .</td>
428 <td><code>template<class AE><br />
430 &ae)</code></td>
434 <td><code>template<class AE><br />
436 &ae)</code></td>
441 <td><code>template<class AE><br />
443 &ae)</code></td>
448 <td><code>template<class AE><br />
450 &ae)</code></td>
455 <td><code>template<class AE><br />
457 &ae)</code></td>
462 <td><code>template<class AE><br />
464 &ae)</code></td>
469 <td><code>template<class AT><br />
470 banded_adaptor &operator *= (const AT &at)</code></td>
475 <td><code>template<class AT><br />
476 banded_adaptor &operator /= (const AT &at)</code></td>
481 <td><code>void swap (banded_adaptor &m)</code></td>
485 <td><code>const_iterator1 begin1 () const</code></td>
486 <td>Returns a <code>const_iterator1</code> pointing to the
487 beginning of the <code>banded_adaptor</code>.</td>
490 <td><code>const_iterator1 end1 () const</code></td>
491 <td>Returns a <code>const_iterator1</code> pointing to the end of
492 the <code>banded_adaptor</code>.</td>
495 <td><code>iterator1 begin1 ()</code></td>
496 <td>Returns a <code>iterator1</code> pointing to the beginning of
497 the <code>banded_adaptor</code>.</td>
500 <td><code>iterator1 end1 ()</code></td>
501 <td>Returns a <code>iterator1</code> pointing to the end of the
502 <code>banded_adaptor</code>.</td>
505 <td><code>const_iterator2 begin2 () const</code></td>
506 <td>Returns a <code>const_iterator2</code> pointing to the
507 beginning of the <code>banded_adaptor</code>.</td>
510 <td><code>const_iterator2 end2 () const</code></td>
511 <td>Returns a <code>const_iterator2</code> pointing to the end of
512 the <code>banded_adaptor</code>.</td>
515 <td><code>iterator2 begin2 ()</code></td>
516 <td>Returns a <code>iterator2</code> pointing to the beginning of
517 the <code>banded_adaptor</code>.</td>
520 <td><code>iterator2 end2 ()</code></td>
521 <td>Returns a <code>iterator2</code> pointing to the end of the
522 <code>banded_adaptor</code>.</td>
525 <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
526 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
527 beginning of the reversed <code>banded_adaptor</code>.</td>
530 <td><code>const_reverse_iterator1 rend1 () const</code></td>
531 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
532 end of the reversed <code>banded_adaptor</code>.</td>
535 <td><code>reverse_iterator1 rbegin1 ()</code></td>
536 <td>Returns a <code>reverse_iterator1</code> pointing to the
537 beginning of the reversed <code>banded_adaptor</code>.</td>
540 <td><code>reverse_iterator1 rend1 ()</code></td>
541 <td>Returns a <code>reverse_iterator1</code> pointing to the end of
542 the reversed <code>banded_adaptor</code>.</td>
545 <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
546 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
547 beginning of the reversed <code>banded_adaptor</code>.</td>
550 <td><code>const_reverse_iterator2 rend2 () const</code></td>
551 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
552 end of the reversed <code>banded_adaptor</code>.</td>
555 <td><code>reverse_iterator2 rbegin2 ()</code></td>
556 <td>Returns a <code>reverse_iterator2</code> pointing to the
557 beginning of the reversed <code>banded_adaptor</code>.</td>
560 <td><code>reverse_iterator2 rend2 ()</code></td>
561 <td>Returns a <code>reverse_iterator2</code> pointing to the end of
562 the reversed <code>banded_adaptor</code>.</td>