eigenvalues can be stored as not only Eigen3 VectorXd but also double*