eigen/doc/snippets/MatrixBase_col.cpp
Benoit Jacob 3cd2a125b2 - rework the coefficients API
- make vectors use a separate loop unroller, so that copying a
row-vector into a col-vector is now possible
- add much more documentation
- misc improvements
2007-12-24 11:14:25 +00:00

4 lines
82 B
C++

Matrix3d m = Matrix3d::identity();
m.col(1) = Vector3d(4,5,6);
cout << m << endl;