What is the simplest way to replace all Eigen::MatrixXd
s and Eigen::VectorXd
s with Vectors and Matrices that have long double
elements?
Every basic floating point variable in my code is of type long double
. Also, everytime I use a matrix or vector, I use the following typedefs.
typedef Eigen::VectorXd Vec;
typedef Eigen::MatrixXd Mat;
What's the best thing to switch these typedefs to? What happens if I leave them as they are?