eigen/doc/examples/function_dynBlock.cpp
Benoit Jacob 64f5d5d318 move the documentation to doc/, add dummy documentation to srcdir/ compiling to
an explanation of how to generate the docs
2007-12-21 07:30:15 +00:00

11 lines
217 B
C++

#include <Eigen/Core.h>
USING_EIGEN_DATA_TYPES
using namespace std;
int main(int, char**)
{
Matrix4d m = Matrix4d::identity();
m.dynBlock(2,0,2,2) = m.dynBlock(0,0,2,2);
cout << m << endl;
return 0;
}