Home | History | Annotate | Download | only in examples
      1 #include <iostream>
      2 #include <Eigen/Dense>
      3 
      4 using namespace Eigen;
      5 using namespace std;
      6 
      7 int main()
      8 {
      9   Matrix3f m = Matrix3f::Random();
     10   m = (m + Matrix3f::Constant(1.2)) * 50;
     11   cout << "m =" << endl << m << endl;
     12   Vector3f v(1,2,3);
     13 
     14   cout << "m * v =" << endl << m * v << endl;
     15 }
     16