#include #include int main () { using namespace boost::numeric::ublas; using namespace std; typedef double mtype; //real matrices //typedef complex mtype; // complex matr. { identity_matrix m(3); cout << "identity matrix "; cout << m << endl; } { zero_matrix m(3,4); cout << " zero matrix "; cout << m << endl; } { matrix m(3,4); for (unsigned i=0; i