Eigen - Levenberg Marquardt algorithm: invalid template arguments on definition of permutation
问题 I'm trying to use the Eigen implementation of Levenberg Marquardt algorithm on a Android application. In order to use Eigen, I'm using Android NDK and jni. I've already tested Eigen with simple calculations (like matrix creation and vector sums) and it works perfectly. However, when I tried to use the Levenberg Marquardt algorithm I got some errors on the LevenbergMarquardt.h file from Eigen's library. First, here is my code. I based on this code: Eigen::MatrixXd matrix(count, 3); for (int i