Tutorial_simple_example_fixed_size.cpp
Go to the documentation of this file.
00001 #include <Eigen/Core>
00002 #include <iostream>
00003 
00004 using namespace Eigen;
00005 
00006 int main()
00007 {
00008   Matrix3f m3;
00009   m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
00010   Matrix4f m4 = Matrix4f::Identity();
00011   Vector4i v4(1, 2, 3, 4);
00012 
00013   std::cout << "m3\n" << m3 << "\nm4:\n"
00014     << m4 << "\nv4:\n" << v4 << std::endl;
00015 }


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:27