Mapping a custom struct with a double array to Eigen::Matrix
i have this c struct from a third party library:
Is there a way to get the complex/real scalar after matrices multiplications, like 1 x n * n x n * n x 1
I am new to C++ and the eigen lib, I am doing some matrix multiplications, like 1xn * nxn * nx1, the result should be a scalar, or an 1×1 matrix. I need to do some further calculations with it. Is there a way to assign it to a double/complex variable?
(C++_Eigen) Is there a way to get the complex/real scalar after matrices multiplications, like 1 x n * n x n * n x 1
I am new to C++ and the eigen lib, I am doing some matrix multiplications, like 1xn * nxn * nx1, the result should be a scalar, or an 1×1 matrix. I need to do some further calculations with it. Is there a way to assign it to a double/complex variable?