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:
@@ -166,7 +166,7 @@ size.</p>
|
||||
<ul>
|
||||
<li><code>vector<T></code> , <code>bounded_vector<T, N></code></li>
|
||||
<li><code>unit_vector<T></code> , <code>zero_vector<T></code> , <code>scalar_vector<T></code></li>
|
||||
<li><code>sparse_vector<T></code> , <code>compressed_vector</code> , <code>coordinate_vector</code></li>
|
||||
<li><code>mapped_vector<T></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<T></code> , <code>bounded_matrix<T, M, N></code></li>
|
||||
<li><code>identity_matrix<T></code> , <code>zero_matrix<T></code> , <code>scalar_matrix<T></code></li>
|
||||
<li><code>triangular_matrix<T></code> , <code>symmetric_matrix<T></code> , <code>banded_matrix<T></code></li>
|
||||
<li><code>sparse_matrix<T></code> , <code>compressed_matrix</code> , <code>coordinate_matrix</code></li>
|
||||
<li><code>mapped_matrix<T></code> , <code>compressed_matrix</code> , <code>coordinate_matrix</code></li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p>Copyright (©) 2000-2002 Joerg Walter, Mathias Koch<br />
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user