#include<iostream>
#define EIGEN_USE_MKL_ALL
#include"mkl.h"
#include<Eigen/Dense>
using Eigen::MatrixXd;
int main()
{
MatrixXd m1,m2,m3;
m1<<1,2,3,4;
m2<<5,6,7,8;
m3=m1*m2.Transpose();
std::cout<<m3;
}
i used IMKL11.2 Eigen 3.2.0 ubuntu 14.04 LTS intel core duo processor 64bit os g++ compiler
http://eigen.tuxfamily.org/dox/TopicUsingIntelMKL.html the link says that we can use IMKL from Eigen by defining the macro. But the following error pope up
in file included from Eigen/Core from Eigen/Dense from test.cpp MKL_BLAS was not decleared in this scope