are examples on maual page ready to run?
25 Oct
2002
25 Oct
'02
6:29 p.m.
I just download boost and tried to get a hang of it by running examples out
of the doc page. But I am not sure if these examples are ready to run or
simply like a pseudo-code? A point in the case:
This simple matrix example
int main () {
using namespace boost::numeric::ublas;
matrix<double> m (3, 3);
for (int i = 0; i < m.size1 (); ++ i)
for (int j = 0; j < m.size2 (); ++ j)
m (i, j) = 3 * i + j;
std::cout << m << std::endl;
}
I copied it and added the following includes:
#include
8070
Age (days ago)
8070
Last active (days ago)
0 comments
1 participants
participants (1)
-
J-S Lin