mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
now cmake takes snippets of code, completes them into compilable sources, builds them,
executes them and stores their output in files.
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
#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;
|
||||
}
|
||||
Matrix4d m = Matrix4d::identity();
|
||||
m.dynBlock(2,0,2,2) = m.dynBlock(0,0,2,2);
|
||||
cout << m << endl;
|
||||
|
||||
Reference in New Issue
Block a user