QGenericMatrix vs Eigen
-
I'm developing a Qt C++ appplication and I need to do some linear algebra operations and store 2D and 3D matrix data.
Maybe the N-dimensional case will be necessary too.I saw that Qt have the
QGenericMatrixclass (link).So, is there any advantages to inclue
Eigen(link) in my project and use it instead of useQGenericMatrix? -
Hi,
AFAIK, Eigen is designed for your use case. QGenericMatrix represents a transformation matrix.
-
I'm developing a Qt C++ appplication and I need to do some linear algebra operations and store 2D and 3D matrix data.
Maybe the N-dimensional case will be necessary too.I saw that Qt have the
QGenericMatrixclass (link).So, is there any advantages to inclue
Eigen(link) in my project and use it instead of useQGenericMatrix?@fem_dev said in QGenericMatrix vs Eigen:
So, is there any advantages to inclue Eigen (link) in my project and use it instead of use QGenericMatrix?
@SGaist is right, Qt does this only because it doesn't use a ready-made package. If you really need LA, then Qt ain't your thing for the job.