mirror of
https://github.com/boostorg/ublas.git
synced 2026-01-22 17:52:23 +00:00
12 lines
259 B
C++
12 lines
259 B
C++
#include <boost/numeric/ublas/storage_sparse.hpp>
|
|
|
|
int main () {
|
|
using namespace boost::numeric::ublas;
|
|
map_array<int, double> a (3);
|
|
for (unsigned i = 0; i < a.size (); ++ i) {
|
|
a [i] = i;
|
|
std::cout << a [i] << std::endl;
|
|
}
|
|
}
|
|
|