1 #include "../Eigen/Eigenvalues" 2 3 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 #define SCALAR std::complex<double> 5 #else 6 #define SCALAR float 7 #endif 8 9 using namespace Eigen; 10 main()11int main() 12 { 13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); 14 } 15