how to multiply two vectors in eigen c++ code example
Example: matrix multiplication c++ eigen
Matrix2d mat;
mat << 1, 2,
3, 4;
std::cout << "Here is mat*mat:\n" << mat*mat << std::endl;
Matrix2d mat;
mat << 1, 2,
3, 4;
std::cout << "Here is mat*mat:\n" << mat*mat << std::endl;