mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-22 03:42:19 +00:00
FIX document all Vector Matrix containers derived from _container
FIX zero/unit/scalar default int FIX no spaces in <h2> svn path=/trunk/boost/libs/numeric/ublas/; revision=30153
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Banded Matrix</h1>
|
||||
<h2><a name="banded_matrix" id="banded_matrix"></a> Banded
|
||||
Matrix</h2>
|
||||
<h2><a name="banded_matrix" id="banded_matrix"></a>Banded Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>banded_matrix<T, F, A></code> is
|
||||
the base container adaptor for banded matrices. For a <em>(m x
|
||||
@@ -71,7 +70,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<banded_matrix<T, F, A>
|
||||
<p><code>matrix_container<banded_matrix<T, F, A>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -314,8 +313,7 @@ parameters for the adapted array are
|
||||
<code>unbounded_array<T></code> ,
|
||||
<code>bounded_array<T></code> and
|
||||
<code>std::vector<T></code> .</p>
|
||||
<h2><a name="banded_adaptor" id="banded_adaptor"></a> Banded
|
||||
Adaptor</h2>
|
||||
<h2><a name="banded_adaptor" id="banded_adaptor"></a>Banded Adaptor</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>banded_adaptor<M></code> is a
|
||||
banded matrix adaptor for other matrices.</p>
|
||||
|
||||
@@ -110,8 +110,8 @@ Dense Vector ONLY. The type of underlying storage array used to store the elemen
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Storage</td>
|
||||
<td><code>data()</code></td>
|
||||
<td> </td>
|
||||
<td><code>v.data()</code></td>
|
||||
<td><code>v</code> is mutable and Dense.</td>
|
||||
<td><code>array_type&</code> if a is mutable, <code>const array_type&</code> otherwise</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -184,7 +184,7 @@ When <code>p == false</code> then existing elements are not preserved and elemen
|
||||
<td>Storage</td>
|
||||
<td><code>v.data()</code></td>
|
||||
<td></td>
|
||||
<td>Dense Vector ONLY. Returns a reference to the underlying storage</td>
|
||||
<td>Returns a reference to the underlying dense storage.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -307,8 +307,8 @@ following expressions must be valid.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Storage</td>
|
||||
<td><code>data()</code></td>
|
||||
<td> </td>
|
||||
<td><code>m.data()</code></td>
|
||||
<td><code>m</code> is mutable and Dense.</td>
|
||||
<td><code>array_type&</code> if a is mutable, <code>const array_type&</code> otherwise</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -383,7 +383,7 @@ When <code>p == false</code> then existing elements are not preserved and elemen
|
||||
<td>Storage</td>
|
||||
<td><code>m.data()</code></td>
|
||||
<td></td>
|
||||
<td>Dense Matrix ONLY. Returns a reference to the underlying storage</td>
|
||||
<td>Returns a reference to the underlying dense storage.</td>
|
||||
<td> </td>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Hermitian Matrix</h1>
|
||||
<h2><a name="hermitian_matrix" id="hermitian_matrix"></a> Hermitian
|
||||
Matrix</h2>
|
||||
<h2><a name="hermitian_matrix" id="hermitian_matrix"></a>Hermitian Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>hermitian_matrix<T, F1, F2,
|
||||
A></code> is the base container adaptor for hermitian matrices.
|
||||
@@ -86,7 +85,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<hermitian_matrix<T, F1, F2, A>
|
||||
<p><code>matrix_container<hermitian_matrix<T, F1, F2, A>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -321,8 +320,7 @@ Supported parameters for the adapted array are
|
||||
<code>unbounded_array<T></code> ,
|
||||
<code>bounded_array<T></code> and
|
||||
<code>std::vector<T></code> .</p>
|
||||
<h2><a name="hermitian_adaptor" id="hermitian_adaptor"></a>
|
||||
Hermitian Adaptor</h2>
|
||||
<h2><a name="hermitian_adaptor" id="hermitian_adaptor"></a>Hermitian Adaptor</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>hermitian_adaptor<M, F></code>
|
||||
is a hermitian matrix adaptor for other matrices.</p>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Matrix</h1>
|
||||
<h2><a name="matrix" id="matrix"></a> Matrix</h2>
|
||||
<h2><a name="matrix" id="matrix"></a>Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix<T, F, A></code> is the
|
||||
base container adaptor for dense matrices. For a <em>(m x
|
||||
@@ -59,7 +59,7 @@ int main () {
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>A</code></td>
|
||||
<td>The type of the adapted array. <a href="#matrix_2">[2]</a></td>
|
||||
<td>The type of the <a href="storage_concept.htm">Storage</a> array. <a href="#matrix_2">[2]</a></td>
|
||||
<td><code>unbounded_array<T></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -70,7 +70,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<matrix<T, F, A> ></code></p>
|
||||
<p><code>matrix_container<matrix<T, F, A> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
<tbody>
|
||||
@@ -113,6 +113,14 @@ rows of <code>size2</code> elements. The existing elements of the
|
||||
<td>Returns the number of columns.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>const array_type& data () const</code></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>array_type& data ()</code></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>const_reference operator () (size_type i, size_type j)
|
||||
const</code></td>
|
||||
<td>Returns a <code>const</code> reference of the <code>j</code>
|
||||
@@ -290,12 +298,11 @@ the reversed <code>matrix</code>.</td>
|
||||
<p><a name="matrix_1" id="matrix_1">[1]</a> Supported parameters
|
||||
for the storage organization are <code>row_major</code> and
|
||||
<code>column_major</code>.</p>
|
||||
<p><a name="matrix_2" id="matrix_2">[2]</a> Supported parameters
|
||||
for the adapted array are <code>unbounded_array<T></code> ,
|
||||
<p><a name="matrix_2" id="matrix_2">[2]</a> Common parameters
|
||||
for the storage array are <code>unbounded_array<T></code> ,
|
||||
<code>bounded_array<T></code> and
|
||||
<code>std::vector<T></code> .</p>
|
||||
<h2><a name="identity_matrix" id="identity_matrix"></a> Identity
|
||||
Matrix</h2>
|
||||
<h2><a name="identity_matrix" id="identity_matrix"></a>Identity Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>identity_matrix<T></code>
|
||||
represents identity matrices. For a <em>(m x n</em>)-dimensional
|
||||
@@ -327,18 +334,17 @@ int main () {
|
||||
<tr>
|
||||
<td><code>T</code></td>
|
||||
<td>The type of object stored in the matrix.</td>
|
||||
<td></td>
|
||||
<td><code>int</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Model of</h4>
|
||||
<p><a href="expression_concept.htm#matrix_expression">Matrix Expression</a>
|
||||
.</p>
|
||||
<p><a href="container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Type requirements</h4>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"expression_concept.htm#matrix_expression">Matrix Expression</a> .</p>
|
||||
<p>None, except for those imposed by the requirements of
|
||||
<a href="container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<identity_matrix<T>
|
||||
<p><code>matrix_container<identity_matrix<T>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -441,7 +447,7 @@ end of the reversed <code>identity_matrix</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="zero_matrix" id="zero_matrix"></a> Zero Matrix</h2>
|
||||
<h2><a name="zero_matrix" id="zero_matrix"></a>Zero Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>zero_matrix<T></code> represents
|
||||
zero matrices. For a <em>(m x n</em>)-dimensional zero matrix and
|
||||
@@ -471,18 +477,17 @@ int main () {
|
||||
<tr>
|
||||
<td><code>T</code></td>
|
||||
<td>The type of object stored in the matrix.</td>
|
||||
<td></td>
|
||||
<td><code>int</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Model of</h4>
|
||||
<p><a href="expression_concept.htm#matrix_expression">Matrix Expression</a>
|
||||
.</p>
|
||||
<p><a href="container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Type requirements</h4>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"expression_concept.htm#matrix_expression">Matrix Expression</a> .</p>
|
||||
<p>None, except for those imposed by the requirements of
|
||||
<a href="container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<zero_matrix<T> ></code></p>
|
||||
<p><code>matrix_container<zero_matrix<T> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
<tbody>
|
||||
@@ -583,8 +588,7 @@ end of the reversed <code>zero_matrix</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="scalar_matrix" id="scalar_matrix"></a> scalar
|
||||
Matrix</h2>
|
||||
<h2><a name="scalar_matrix" id="scalar_matrix"></a>Scalar Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>scalar_matrix<T></code>
|
||||
represents scalar matrices. For a <em>(m x n</em>)-dimensional
|
||||
@@ -614,18 +618,17 @@ int main () {
|
||||
<tr>
|
||||
<td><code>T</code></td>
|
||||
<td>The type of object stored in the matrix.</td>
|
||||
<td></td>
|
||||
<td><code>int</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Model of</h4>
|
||||
<p><a href="expression_concept.htm#matrix_expression">Matrix Expression</a>
|
||||
.</p>
|
||||
<p><a href="container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Type requirements</h4>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"expression_concept.htm#matrix_expression">Matrix Expression</a> .</p>
|
||||
<p>None, except for those imposed by the requirements of
|
||||
<a href="container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<scalar_matrix<T>
|
||||
<p><code>matrix_container<scalar_matrix<T>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Matrix Proxies</h1>
|
||||
<h2><a name="matrix_row" id="matrix_row"></a> Matrix Row</h2>
|
||||
<h2><a name="matrix_row" id="matrix_row"></a>Matrix Row</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix_row<M></code> allows
|
||||
addressing a row of a matrix.</p>
|
||||
@@ -233,8 +233,7 @@ int main () {
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
<h2><a name="matrix_column" id="matrix_column"></a> Matrix
|
||||
Column</h2>
|
||||
<h2><a name="matrix_column" id="matrix_column"></a>Matrix Column</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix_column<M></code> allows
|
||||
addressing a column of a matrix.</p>
|
||||
@@ -456,7 +455,7 @@ int main () {
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
<h2><a name="vector_range" id="vector_range"></a> Vector Range</h2>
|
||||
<h2><a name="vector_range" id="vector_range"></a>Vector Range</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix_vector_range<M></code>
|
||||
allows addressing a sub vector of a matrix.</p>
|
||||
@@ -642,7 +641,7 @@ the reversed <code>matrix_vector_range</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="vector_slice" id="vector_slice"></a> Vector Slice</h2>
|
||||
<h2><a name="vector_slice" id="vector_slice"></a>Vector Slice</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix_vector_slice<M></code>
|
||||
allows addressing a sliced sub vector of a matrix.</p>
|
||||
@@ -828,7 +827,7 @@ the reversed <code>matrix_vector_slice</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="matrix_range" id="matrix_range"></a> Matrix Range</h2>
|
||||
<h2><a name="matrix_range" id="matrix_range"></a>Matrix Range</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix_range<M></code> allows
|
||||
addressing a sub matrix of a matrix.</p>
|
||||
@@ -1119,7 +1118,7 @@ int main () {
|
||||
std::cout << project (m, range (0, 3), range (0, 3)) << std::endl;
|
||||
}
|
||||
</pre>
|
||||
<h2><a name="matrix_slice" id="matrix_slice"></a> Matrix Slice</h2>
|
||||
<h2><a name="matrix_slice" id="matrix_slice"></a>Matrix Slice</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>matrix_slice<M></code> allows
|
||||
addressing a sliced sub matrix of a matrix.</p>
|
||||
|
||||
@@ -86,7 +86,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<mapped_matrix<T, F, A>
|
||||
<p><code>matrix_container<mapped_matrix<T, F, A>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -316,8 +316,7 @@ parameters for the adapted array are
|
||||
<code>map_array<std::size_t, T></code> and
|
||||
<code>map_std<std::size_t, T></code>. The latter is
|
||||
equivalent to <code>std::map<std::size_t, T></code>.</p>
|
||||
<h2><a name="compressed_matrix" id="compressed_matrix"></a>
|
||||
Compressed Matrix</h2>
|
||||
<h2><a name="compressed_matrix" id="compressed_matrix"></a>Compressed Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>compressed_matrix<T, F, IB, IA,
|
||||
TA></code> is the base container adaptor for compressed
|
||||
@@ -403,7 +402,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<compressed_matrix<T, F, IB, IA,
|
||||
<p><code>matrix_container<compressed_matrix<T, F, IB, IA,
|
||||
TA> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -637,8 +636,7 @@ Supported parameters for the adapted array are
|
||||
<code>unbounded_array<></code> ,
|
||||
<code>bounded_array<></code> and
|
||||
<code>std::vector<></code> .</p>
|
||||
<h2><a name="coordinate_matrix" id="coordinate_matrix"></a>
|
||||
Coordinate Matrix</h2>
|
||||
<h2><a name="coordinate_matrix" id="coordinate_matrix"></a>Coordinate Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>coordinate_matrix<T, F, IB, IA,
|
||||
TA></code> is the base container adaptor for compressed
|
||||
@@ -724,7 +722,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<coordinate_matrix<T, F, IB, IA,
|
||||
<p><code>matrix_container<coordinate_matrix<T, F, IB, IA,
|
||||
TA> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Symmetric Matrix</h1>
|
||||
<h2><a name="symmetric_matrix" id="symmetric_matrix"></a> Symmetric
|
||||
Matrix</h2>
|
||||
<h2><a name="symmetric_matrix" id="symmetric_matrix"></a>Symmetric Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>symmetric_matrix<T, F1, F2,
|
||||
A></code> is the base container adaptor for symmetric matrices.
|
||||
@@ -81,7 +80,7 @@ id="#symmetric_matrix_3">[3]</a></td>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<symmetric_matrix<T, F1, F2, A>
|
||||
<p><code>matrix_container<symmetric_matrix<T, F1, F2, A>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -311,8 +310,7 @@ Supported parameters for the adapted array are
|
||||
<code>unbounded_array<T></code> ,
|
||||
<code>bounded_array<T></code> and
|
||||
<code>std::vector<T></code> .</p>
|
||||
<h2><a name="symmetric_adaptor" id="symmetric_adaptor"></a>
|
||||
Symmetric Adaptor</h2>
|
||||
<h2><a name="symmetric_adaptor" id="symmetric_adaptor"></a>Symmetric Adaptor</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>symmetric_adaptor<M, F></code>
|
||||
is a symmetric matrix adaptor for other matrices.</p>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Triangular Matrix</h1>
|
||||
<h2><a name="triangular_matrix" id="triangular_matrix"></a>
|
||||
Triangular Matrix</h2>
|
||||
<h2><a name="triangular_matrix" id="triangular_matrix"></a>Triangular Matrix</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>triangular_matrix<T, F1, F2,
|
||||
A></code> is the base container adaptor for triangular matrices.
|
||||
@@ -88,7 +87,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#matrix">Matrix</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>matrix_expression<triangular_matrix<T, F1, F2, A>
|
||||
<p><code>matrix_container<triangular_matrix<T, F1, F2, A>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -325,8 +324,7 @@ Supported parameters for the adapted array are
|
||||
<code>unbounded_array<T></code> ,
|
||||
<code>bounded_array<T></code> and
|
||||
<code>std::vector<T></code> .</p>
|
||||
<h2><a name="triangular_adaptor" id="triangular_adaptor"></a>
|
||||
Triangular Adaptor</h2>
|
||||
<h2><a name="triangular_adaptor" id="triangular_adaptor"></a>Triangular Adaptor</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>triangular_adaptor<M, F></code>
|
||||
is a triangular matrix adaptor for other matrices.</p>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Vector</h1>
|
||||
<h2><a name="vector" id="vector"></a> Vector</h2>
|
||||
<h2><a name="vector" id="vector"></a>Vector</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>vector<T, A></code> is the base
|
||||
container adaptor for dense vectors. For a <em>n</em>-dimensional
|
||||
@@ -49,7 +49,7 @@ int main () {
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>A</code></td>
|
||||
<td>The type of the adapted array. <a href="#vector_1">[1]</a></td>
|
||||
<td>The type of the <a href="storage_concept.htm">Storage</a> array. <a href="#vector_1">[1]</a></td>
|
||||
<td><code>unbounded_array<T></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -60,7 +60,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<vector<T, A> ></code></p>
|
||||
<p><code>vector_container<vector<T, A> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
<tbody>
|
||||
@@ -156,12 +156,12 @@ preseved when specified.</td>
|
||||
<td>Returns the size of the <code>vector</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>const array_type& data () const</code></td>
|
||||
<td><code>const array_type& data () const</code></td>
|
||||
<td><a href="container_concept.htm#vector">Vector</a></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>array_type& data ()</code></td>
|
||||
<td><code>array_type& data ()</code></td>
|
||||
<td><a href="container_concept.htm#vector">Vector</a></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@@ -331,11 +331,11 @@ the reversed <code>vector</code>.</td>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Notes</h4>
|
||||
<p><a name="vector_1" id="vector_1">[1]</a> Supported parameters
|
||||
for the adapted array are <code>unbounded_array<T></code> ,
|
||||
<p><a name="vector_1" id="vector_1">[1]</a> Common parameters
|
||||
for the Storage array are <code>unbounded_array<T></code> ,
|
||||
<code>bounded_array<T></code> and
|
||||
<code>std::vector<T></code> .</p>
|
||||
<h2><a name="unit_vector" id="unit_vector"></a> Unit Vector</h2>
|
||||
<h2><a name="unit_vector" id="unit_vector"></a>Unit Vector</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>unit_vector<T></code> represents
|
||||
canonical unit vectors. For the <em>k</em>-th
|
||||
@@ -370,18 +370,17 @@ int main () {
|
||||
<tr>
|
||||
<td><code>T</code></td>
|
||||
<td>The type of object stored in the vector.</td>
|
||||
<td></td>
|
||||
<td><code>int</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Model of</h4>
|
||||
<p><a href="expression_concept.htm#vector_expression">Vector Expression</a>
|
||||
.</p>
|
||||
<p><a href="container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Type requirements</h4>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"expression_concept.htm#vector_expression">Vector Expression</a> .</p>
|
||||
<p>None, except for those imposed by the requirements of
|
||||
<a href="container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<unit_vector<T> ></code></p>
|
||||
<p><code>vector_container<unit_vector<T> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
<tbody>
|
||||
@@ -465,7 +464,7 @@ end of the reversed <code>unit_vector</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="zero_vector" id="zero_vector"></a> Zero Vector</h2>
|
||||
<h2><a name="zero_vector" id="zero_vector"></a>Zero Vector</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>zero_vector<T></code> represents
|
||||
zero vectors. For a <em>n</em>-dimensional zero vector and <em>0
|
||||
@@ -495,18 +494,17 @@ int main () {
|
||||
<tr>
|
||||
<td><code>T</code></td>
|
||||
<td>The type of object stored in the vector.</td>
|
||||
<td></td>
|
||||
<td><code>int</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Model of</h4>
|
||||
<p><a href="expression_concept.htm#vector_expression">Vector Expression</a>
|
||||
.</p>
|
||||
<p><a href="container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Type requirements</h4>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"expression_concept.htm#vector_expression">Vector Expression</a> .</p>
|
||||
<p>None, except for those imposed by the requirements of
|
||||
<a href="container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<zero_vector<T> ></code></p>
|
||||
<p><code>vector_container<zero_vector<T> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
<tbody>
|
||||
@@ -586,8 +584,7 @@ end of the reversed <code>zero_vector</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="scalar_vector" id="scalar_vector"></a> Scalar
|
||||
Vector</h2>
|
||||
<h2><a name="scalar_vector" id="scalar_vector"></a>Scalar Vector</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>scalar_vector<T></code>
|
||||
represents scalar vectors. For a <em>n</em>-dimensional scalar
|
||||
@@ -617,18 +614,17 @@ int main () {
|
||||
<tr>
|
||||
<td><code>T</code></td>
|
||||
<td>The type of object stored in the vector.</td>
|
||||
<td></td>
|
||||
<td><code>int</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Model of</h4>
|
||||
<p><a href="expression_concept.htm#vector_expression">Vector Expression</a>
|
||||
.</p>
|
||||
<p><a href="container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Type requirements</h4>
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"expression_concept.htm#vector_expression">Vector Expression</a> .</p>
|
||||
<p>None, except for those imposed by the requirements of
|
||||
<a href="container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<scalar_vector<T>
|
||||
<p><code>vector_container<scalar_vector<T>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<body>
|
||||
<h1><img src="../../../../boost.png" align="middle" />
|
||||
Vector Proxies</h1>
|
||||
<h2><a name="vector_range" id="vector_range"></a> Vector Range</h2>
|
||||
<h2><a name="vector_range" id="vector_range"></a>Vector Range</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>vector_range<V></code> allows
|
||||
addressing a sub-range of a vector's element.</p>
|
||||
@@ -259,7 +259,7 @@ int main () {
|
||||
std::cout << project (v, range (0, 3)) << std::endl;
|
||||
}
|
||||
</pre>
|
||||
<h2><a name="vector_slice" id="vector_slice"></a> Vector Slice</h2>
|
||||
<h2><a name="vector_slice" id="vector_slice"></a>Vector Slice</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>vector_slice<V></code> allows
|
||||
addressing a slice of a vector.</p>
|
||||
|
||||
@@ -67,7 +67,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<mapped_vector<T, A>
|
||||
<p><code>vector_container<mapped_vector<T, A>
|
||||
></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -255,8 +255,7 @@ parameters for the adapted array are
|
||||
<code>map_array<std::size_t, T></code> and
|
||||
<code>map_std<std::size_t, T></code>. The latter is
|
||||
equivalent to <code>std::map<std::size_t, T></code>.</p>
|
||||
<h2><a name="compressed_vector" id="compressed_vector"></a>
|
||||
Compressed Vector</h2>
|
||||
<h2><a name="compressed_vector" id="compressed_vector"></a>Compressed Vector</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>compressed_vector<T, IB, IA,
|
||||
TA></code> is the base container adaptor for compressed vectors.
|
||||
@@ -323,7 +322,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<compressed_vector<T, IB, IA,
|
||||
<p><code>vector_container<compressed_vector<T, IB, IA,
|
||||
TA> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
@@ -515,8 +514,7 @@ Supported parameters for the adapted array are
|
||||
<code>unbounded_array<></code> ,
|
||||
<code>bounded_array<></code> and
|
||||
<code>std::vector<></code> .</p>
|
||||
<h2><a name="coordinate_vector" id="coordinate_vector"></a>
|
||||
Coordinate Vector</h2>
|
||||
<h2><a name="coordinate_vector" id="coordinate_vector"></a>Coordinate Vector</h2>
|
||||
<h4>Description</h4>
|
||||
<p>The templated class <code>coordinate_vector<T, IB, IA,
|
||||
TA></code> is the base container adaptor for compressed vectors.
|
||||
@@ -583,7 +581,7 @@ int main () {
|
||||
<p>None, except for those imposed by the requirements of <a href=
|
||||
"container_concept.htm#vector">Vector</a> .</p>
|
||||
<h4>Public base classes</h4>
|
||||
<p><code>vector_expression<coordinate_vector<T, IB, IA,
|
||||
<p><code>vector_container<coordinate_vector<T, IB, IA,
|
||||
TA> ></code></p>
|
||||
<h4>Members</h4>
|
||||
<table border="1" summary="members">
|
||||
|
||||
Reference in New Issue
Block a user