• Home
  • Raw
  • Download

Lines Matching full:code

20 <p>The templated class <code>matrix&lt;T, F, A&gt;</code> is the
53 <td><code>T</code></td>
58 <td><code>F</code></td>
61 <td><code>row_major</code></td>
64 <td><code>A</code></td>
66 <td><code>unbounded_array&lt;T&gt;</code></td>
76 <p><code>matrix_container&lt;matrix&lt;T, F, A&gt; &gt;</code></p>
85 <td><code>matrix ()</code></td>
86 <td>Allocates an uninitialized <code>matrix</code> that holds zero
90 <td><code>matrix (size_type size1, size_type size2)</code></td>
91 <td>Allocates an uninitialized <code>matrix</code> that holds
92 <code>size1</code> rows of <code>size2</code> elements.</td>
95 <td><code>matrix (const matrix &amp;m)</code></td>
99 <td><code>template&lt;class AE&gt;<br />
100 matrix (const matrix_expression&lt;AE&gt; &amp;ae)</code></td>
104 <td><code>void resize (size_type size1, size_type size2, bool
105 preserve = true)</code></td>
106 <td>Reallocates a <code>matrix</code> to hold <code>size1</code>
107 rows of <code>size2</code> elements. The existing elements of the
108 <code>matrix</code> are preseved when specified.</td>
111 <td><code>size_type size1 () const</code></td>
115 <td><code>size_type size2 () const</code></td>
119 <td><code>const array_type&amp; data () const</code></td>
123 <td><code>array_type&amp; data ()</code></td>
127 <td><code>const_reference operator () (size_type i, size_type j)
128 const</code></td>
129 <td>Returns a <code>const</code> reference of the <code>j</code>
130 -th element in the <code>i</code>-th row.</td>
133 <td><code>reference operator () (size_type i, size_type
134 j)</code></td>
135 <td>Returns a reference of the <code>j</code>-th element in the
136 <code>i</code>-th row.</td>
139 <td><code>matrix &amp;operator = (const matrix &amp;m)</code></td>
143 <td><code>matrix &amp;assign_temporary (matrix &amp;m)</code></td>
144 <td>Assigns a temporary. May change the matrix <code>m</code>.</td>
147 <td><code>template&lt;class AE&gt;<br />
149 &amp;ae)</code></td>
153 <td><code>template&lt;class AE&gt;<br />
155 &amp;ae)</code></td>
160 <td><code>template&lt;class AE&gt;<br />
162 &amp;ae)</code></td>
167 <td><code>template&lt;class AE&gt;<br />
169 &amp;ae)</code></td>
174 <td><code>template&lt;class AE&gt;<br />
176 &amp;ae)</code></td>
181 <td><code>template&lt;class AE&gt;<br />
183 &amp;ae)</code></td>
188 <td><code>template&lt;class AT&gt;<br />
189 matrix &amp;operator *= (const AT &amp;at)</code></td>
194 <td><code>template&lt;class AT&gt;<br />
195 matrix &amp;operator /= (const AT &amp;at)</code></td>
200 <td><code>void swap (matrix &amp;m)</code></td>
204 <td><code>void insert_element (size_type i, size_type j, const_reference
205 t)</code></td>
206 <td>Inserts the value <code>t</code> at the <code>j</code>-th
207 element of the <code>i</code>-th row.</td>
210 <td><code>void erase_element (size_type i, size_type j)</code></td>
211 <td>Erases the value at the <code>j</code>-th element of the
212 <code>i</code>-th row.</td>
215 <td><code>void clear ()</code></td>
219 <td><code>const_iterator1 begin1 () const</code></td>
220 <td>Returns a <code>const_iterator1</code> pointing to the
221 beginning of the <code>matrix</code>.</td>
224 <td><code>const_iterator1 end1 () const</code></td>
225 <td>Returns a <code>const_iterator1</code> pointing to the end of
226 the <code>matrix</code>.</td>
229 <td><code>iterator1 begin1 ()</code></td>
230 <td>Returns a <code>iterator1</code> pointing to the beginning of
231 the <code>matrix</code>.</td>
234 <td><code>iterator1 end1 ()</code></td>
235 <td>Returns a <code>iterator1</code> pointing to the end of the
236 <code>matrix</code>.</td>
239 <td><code>const_iterator2 begin2 () const</code></td>
240 <td>Returns a <code>const_iterator2</code> pointing to the
241 beginning of the <code>matrix</code>.</td>
244 <td><code>const_iterator2 end2 () const</code></td>
245 <td>Returns a <code>const_iterator2</code> pointing to the end of
246 the <code>matrix</code>.</td>
249 <td><code>iterator2 begin2 ()</code></td>
250 <td>Returns a <code>iterator2</code> pointing to the beginning of
251 the <code>matrix</code>.</td>
254 <td><code>iterator2 end2 ()</code></td>
255 <td>Returns a <code>iterator2</code> pointing to the end of the
256 <code>matrix</code>.</td>
259 <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
260 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
261 beginning of the reversed <code>matrix</code>.</td>
264 <td><code>const_reverse_iterator1 rend1 () const</code></td>
265 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
266 end of the reversed <code>matrix</code>.</td>
269 <td><code>reverse_iterator1 rbegin1 ()</code></td>
270 <td>Returns a <code>reverse_iterator1</code> pointing to the
271 beginning of the reversed <code>matrix</code>.</td>
274 <td><code>reverse_iterator1 rend1 ()</code></td>
275 <td>Returns a <code>reverse_iterator1</code> pointing to the end of
276 the reversed <code>matrix</code>.</td>
279 <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
280 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
281 beginning of the reversed <code>matrix</code>.</td>
284 <td><code>const_reverse_iterator2 rend2 () const</code></td>
285 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
286 end of the reversed <code>matrix</code>.</td>
289 <td><code>reverse_iterator2 rbegin2 ()</code></td>
290 <td>Returns a <code>reverse_iterator2</code> pointing to the
291 beginning of the reversed <code>matrix</code>.</td>
294 <td><code>reverse_iterator2 rend2 ()</code></td>
295 <td>Returns a <code>reverse_iterator2</code> pointing to the end of
296 the reversed <code>matrix</code>.</td>
302 for the storage organization are <code>row_major</code> and
303 <code>column_major</code>.</p>
305 for the storage array are <code>unbounded_array&lt;T&gt;</code> ,
306 <code>bounded_array&lt;T&gt;</code> and
307 <code>std::vector&lt;T&gt;</code> .</p>
310 <p>The templated class <code>identity_matrix&lt;T, ALLOC&gt;</code>
338 <td><code>T</code></td>
340 <td><code>int</code></td>
343 <td><code>ALLOC</code></td>
355 <p><code>matrix_container&lt;identity_matrix&lt;T&gt;
356 &gt;</code></p>
365 <td><code>identity_matrix ()</code></td>
366 <td>Constructs an <code>identity_matrix</code> that holds zero rows
370 <td><code>identity_matrix (size_type size)</code></td>
371 <td>Constructs an <code>identity_matrix</code> that holds
372 <code>size</code> rows of <code>size</code> elements.</td>
375 <td><code>identity_matrix (const identity_matrix
376 &amp;m)</code></td>
380 <td><code>void resize (size_type size, bool preserve =
381 true)</code></td>
382 <td>Resizes a <code>identity_matrix</code> to hold
383 <code>size</code> rows of <code>size</code> elements. Therefore the
384 existing elements of the <code>itendity_matrix</code> are always
388 <td><code>size_type size1 () const</code></td>
392 <td><code>size_type size2 () const</code></td>
396 <td><code>const_reference operator () (size_type i, size_type j)
397 const</code></td>
398 <td>Returns the value of the <code>j</code>-th element in the
399 <code>i</code>-th row.</td>
402 <td><code>identity_matrix &amp;operator = (const identity_matrix
403 &amp;m)</code></td>
407 <td><code>identity_matrix &amp;assign_temporary (identity_matrix
408 &amp;m)</code></td>
410 <code>m</code> .</td>
413 <td><code>void swap (identity_matrix &amp;m)</code></td>
417 <td><code>const_iterator1 begin1 () const</code></td>
418 <td>Returns a <code>const_iterator1</code> pointing to the
419 beginning of the <code>identity_matrix</code>.</td>
422 <td><code>const_iterator1 end1 () const</code></td>
423 <td>Returns a <code>const_iterator1</code> pointing to the end of
424 the <code>identity_matrix</code>.</td>
427 <td><code>const_iterator2 begin2 () const</code></td>
428 <td>Returns a <code>const_iterator2</code> pointing to the
429 beginning of the <code>identity_matrix</code>.</td>
432 <td><code>const_iterator2 end2 () const</code></td>
433 <td>Returns a <code>const_iterator2</code> pointing to the end of
434 the <code>identity_matrix</code>.</td>
437 <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
438 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
439 beginning of the reversed <code>identity_matrix</code>.</td>
442 <td><code>const_reverse_iterator1 rend1 () const</code></td>
443 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
444 end of the reversed <code>identity_matrix</code>.</td>
447 <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
448 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
449 beginning of the reversed <code>identity_matrix</code>.</td>
452 <td><code>const_reverse_iterator2 rend2 () const</code></td>
453 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
454 end of the reversed <code>identity_matrix</code>.</td>
460 <p>The templated class <code>zero_matrix&lt;T, ALLOC&gt;</code> represents
486 <td><code>T</code></td>
488 <td><code>int</code></td>
491 <td><code>ALLOC</code></td>
503 <p><code>matrix_container&lt;zero_matrix&lt;T&gt; &gt;</code></p>
512 <td><code>zero_matrix ()</code></td>
513 <td>Constructs a <code>zero_matrix</code> that holds zero rows of
517 <td><code>zero_matrix (size_type size1, size_type
518 size2)</code></td>
519 <td>Constructs a <code>zero_matrix</code> that holds
520 <code>size1</code> rows of <code>size2</code> elements.</td>
523 <td><code>zero_matrix (const zero_matrix &amp;m)</code></td>
527 <td><code>void resize (size_type size1, size_type size2, bool
528 preserve = true)</code></td>
529 <td>Resizes a <code>zero_matrix</code> to hold <code>size1</code>
530 rows of <code>size2</code> elements. Therefore the existing
531 elements of the <code>zero_matrix</code> are always preseved.</td>
534 <td><code>size_type size1 () const</code></td>
538 <td><code>size_type size2 () const</code></td>
542 <td><code>const_reference operator () (size_type i, size_type j)
543 const</code></td>
544 <td>Returns the value of the <code>j</code>-th element in the
545 <code>i</code>-th row.</td>
548 <td><code>zero_matrix &amp;operator = (const zero_matrix
549 &amp;m)</code></td>
553 <td><code>zero_matrix &amp;assign_temporary (zero_matrix
554 &amp;m)</code></td>
555 <td>Assigns a temporary. May change the zero matrix <code>m</code>
559 <td><code>void swap (zero_matrix &amp;m)</code></td>
563 <td><code>const_iterator1 begin1 () const</code></td>
564 <td>Returns a <code>const_iterator1</code> pointing to the
565 beginning of the <code>zero_matrix</code>.</td>
568 <td><code>const_iterator1 end1 () const</code></td>
569 <td>Returns a <code>const_iterator1</code> pointing to the end of
570 the <code>zero_matrix</code>.</td>
573 <td><code>const_iterator2 begin2 () const</code></td>
574 <td>Returns a <code>const_iterator2</code> pointing to the
575 beginning of the <code>zero_matrix</code>.</td>
578 <td><code>const_iterator2 end2 () const</code></td>
579 <td>Returns a <code>const_iterator2</code> pointing to the end of
580 the <code>zero_matrix</code>.</td>
583 <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
584 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
585 beginning of the reversed <code>zero_matrix</code>.</td>
588 <td><code>const_reverse_iterator1 rend1 () const</code></td>
589 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
590 end of the reversed <code>zero_matrix</code>.</td>
593 <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
594 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
595 beginning of the reversed <code>zero_matrix</code>.</td>
598 <td><code>const_reverse_iterator2 rend2 () const</code></td>
599 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
600 end of the reversed <code>zero_matrix</code>.</td>
606 <p>The templated class <code>scalar_matrix&lt;T, ALLOC&gt;</code>
632 <td><code>T</code></td>
634 <td><code>int</code></td>
637 <td><code>ALLOC</code></td>
649 <p><code>matrix_container&lt;scalar_matrix&lt;T&gt;
650 &gt;</code></p>
659 <td><code>scalar_matrix ()</code></td>
660 <td>Constructs a <code>scalar_matrix</code> that holds scalar rows
664 <td><code>scalar_matrix (size_type size1, size_type size2, const
665 value_type &amp;value)</code></td>
666 <td>Constructs a <code>scalar_matrix</code> that holds
667 <code>size1</code> rows of <code>size2</code> elements each of the
671 <td><code>scalar_matrix (const scalar_matrix &amp;m)</code></td>
675 <td><code>void resize (size_type size1, size_type size2, bool
676 preserve = true)</code></td>
677 <td>Resizes a <code>scalar_matrix</code> to hold <code>size1</code>
678 rows of <code>size2</code> elements. Therefore the existing
679 elements of the <code>scalar_matrix</code> are always
683 <td><code>size_type size1 () const</code></td>
687 <td><code>size_type size2 () const</code></td>
691 <td><code>const_reference operator () (size_type i, size_type j)
692 const</code></td>
693 <td>Returns the value of the <code>j</code>-th element in the
694 <code>i</code>-th row.</td>
697 <td><code>scalar_matrix &amp;operator = (const scalar_matrix
698 &amp;m)</code></td>
702 <td><code>scalar_matrix &amp;assign_temporary (scalar_matrix
703 &amp;m)</code></td>
705 <code>m</code> .</td>
708 <td><code>void swap (scalar_matrix &amp;m)</code></td>
712 <td><code>const_iterator1 begin1 () const</code></td>
713 <td>Returns a <code>const_iterator1</code> pointing to the
714 beginning of the <code>scalar_matrix</code>.</td>
717 <td><code>const_iterator1 end1 () const</code></td>
718 <td>Returns a <code>const_iterator1</code> pointing to the end of
719 the <code>scalar_matrix</code>.</td>
722 <td><code>const_iterator2 begin2 () const</code></td>
723 <td>Returns a <code>const_iterator2</code> pointing to the
724 beginning of the <code>scalar_matrix</code>.</td>
727 <td><code>const_iterator2 end2 () const</code></td>
728 <td>Returns a <code>const_iterator2</code> pointing to the end of
729 the <code>scalar_matrix</code>.</td>
732 <td><code>const_reverse_iterator1 rbegin1 () const</code></td>
733 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
734 beginning of the reversed <code>scalar_matrix</code>.</td>
737 <td><code>const_reverse_iterator1 rend1 () const</code></td>
738 <td>Returns a <code>const_reverse_iterator1</code> pointing to the
739 end of the reversed <code>scalar_matrix</code>.</td>
742 <td><code>const_reverse_iterator2 rbegin2 () const</code></td>
743 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
744 beginning of the reversed <code>scalar_matrix</code>.</td>
747 <td><code>const_reverse_iterator2 rend2 () const</code></td>
748 <td>Returns a <code>const_reverse_iterator2</code> pointing to the
749 end of the reversed <code>scalar_matrix</code>.</td>