10 m = (
m + Matrix3d::Constant(1.2)) * 50;
11 std::cout <<
"m =" << std::endl <<
m << std::endl;
14 std::cout <<
"m * v =" << std::endl <<
m *
v << std::endl;
Array< int, Dynamic, 1 > v
Matrix< double, 3, 3 > Matrix3d
3×3 matrix of type double.
Matrix< double, 3, 1 > Vector3d
3×1 vector of type double.