Since Eigen is a C ++ template library, it cannot be used directly with C.
Hypothetically, you can collapse C ++ templates in the C API and use this. However, this is associated with a heavy load and may seem a little pointless to me (you can use existing C libraries for linear algebra).
source share