QuickStart_example2_fixed.cpp
Go to the documentation of this file.
00001 #include <iostream>
00002 #include <Eigen/Dense>
00003 
00004 using namespace Eigen;
00005 using namespace std;
00006 
00007 int main()
00008 {
00009   Matrix3f m = Matrix3f::Random();
00010   m = (m + Matrix3f::Constant(1.2)) * 50;
00011   cout << "m =" << endl << m << endl;
00012   Vector3f v(1,2,3);
00013   
00014   cout << "m * v =" << endl << m * v << endl;
00015 }


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:33:16