Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

Tutorial_commainit_01b.cpp
Matrix3f m;
m.row(0) << 1, 2, 3;
m.block(1,0,2,2) << 4, 5, 7, 8;
m.col(2).tail(2) << 6, 9;               
std::cout << m;

Generated by  Doxygen 1.6.0   Back to index