mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-10 11:52:21 +00:00
Documentation update and some fixes.
svn path=/trunk/boost/boost/numeric/ublas/; revision=17184
This commit is contained in:
11
doc/samples/unbounded_array.cpp
Normal file
11
doc/samples/unbounded_array.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <boost/numeric/ublas/storage.hpp>
|
||||
|
||||
int main () {
|
||||
using namespace boost::numeric::ublas;
|
||||
unbounded_array<double> a (3);
|
||||
for (unsigned i = 0; i < a.size (); ++ i) {
|
||||
a [i] = i;
|
||||
std::cout << a [i] << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user