2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-22 03:42:19 +00:00

Update doc matches name change sparse_ to mapped_

svn path=/trunk/boost/libs/numeric/ublas/; revision=27642
This commit is contained in:
Michael Stevens
2005-03-14 13:28:59 +00:00
parent 03ab689069
commit 7e2f9e06f6
5 changed files with 12 additions and 12 deletions

View File

@@ -166,7 +166,7 @@ size.</p>
<ul>
<li><code>vector&lt;T&gt;</code> , <code>bounded_vector&lt;T, N&gt;</code></li>
<li><code>unit_vector&lt;T&gt;</code> , <code>zero_vector&lt;T&gt;</code> , <code>scalar_vector&lt;T&gt;</code></li>
<li><code>sparse_vector&lt;T&gt;</code> , <code>compressed_vector</code> , <code>coordinate_vector</code></li>
<li><code>mapped_vector&lt;T&gt;</code> , <code>compressed_vector</code> , <code>coordinate_vector</code></li>
</ul>
<h2><a name="matrix" id="matrix"></a> Matrix</h2>
<h4>Description</h4>
@@ -331,7 +331,7 @@ size.</p>
<li><code>matrix&lt;T&gt;</code> , <code>bounded_matrix&lt;T, M, N&gt;</code></li>
<li><code>identity_matrix&lt;T&gt;</code> , <code>zero_matrix&lt;T&gt;</code> , <code>scalar_matrix&lt;T&gt;</code></li>
<li><code>triangular_matrix&lt;T&gt;</code> , <code>symmetric_matrix&lt;T&gt;</code> , <code>banded_matrix&lt;T&gt;</code></li>
<li><code>sparse_matrix&lt;T&gt;</code> , <code>compressed_matrix</code> , <code>coordinate_matrix</code></li>
<li><code>mapped_matrix&lt;T&gt;</code> , <code>compressed_matrix</code> , <code>coordinate_matrix</code></li>
</ul>
<hr />
<p>Copyright (&copy;) 2000-2002 Joerg Walter, Mathias Koch<br />

View File

@@ -80,8 +80,8 @@ exe zero_vector
<kylix><*><cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
;
exe sparse_vector
: sparse_vector.cpp
exe mapped_vector
: mapped_vector.cpp
: <include>$(BOOST_ROOT)
<sysinclude>$(BOOST_ROOT)
<borland><*><cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
@@ -208,8 +208,8 @@ exe zero_matrix
<kylix><*><cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
;
exe sparse_matrix
: sparse_matrix.cpp
exe mapped_matrix
: mapped_matrix.cpp
: <include>$(BOOST_ROOT)
<sysinclude>$(BOOST_ROOT)
<borland><*><cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"

View File

@@ -46,8 +46,8 @@ exe zero_vector
: zero_vector.cpp
;
exe sparse_vector
: sparse_vector.cpp
exe mapped_vector
: mapped_vector.cpp
;
exe compressed_vector
@@ -110,8 +110,8 @@ exe zero_matrix
: zero_matrix.cpp
;
exe sparse_matrix
: sparse_matrix.cpp
exe mapped_matrix
: mapped_matrix.cpp
;
exe compressed_matrix

View File

@@ -19,7 +19,7 @@
int main () {
using namespace boost::numeric::ublas;
sparse_matrix<double> m (3, 3, 3 * 3);
mapped_matrix<double> m (3, 3, 3 * 3);
for (unsigned i = 0; i < m.size1 (); ++ i)
for (unsigned j = 0; j < m.size2 (); ++ j)
m (i, j) = 3 * i + j;

View File

@@ -19,7 +19,7 @@
int main () {
using namespace boost::numeric::ublas;
sparse_vector<double> v (3, 3);
mapped_vector<double> v (3, 3);
for (unsigned i = 0; i < v.size (); ++ i)
v (i) = i;
std::cout << v << std::endl;