2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-19 14:52:17 +00:00

Documentation update and some fixes.

[SVN r17184]
This commit is contained in:
Jörg Walter
2003-02-04 07:22:11 +00:00
parent 99b6bfec07
commit 4ab34dbb6e
77 changed files with 14864 additions and 22837 deletions

View File

@@ -0,0 +1,12 @@
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/io.hpp>
int main () {
using namespace boost::numeric::ublas;
sparse_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;
std::cout << m << std::endl;
}