Registered Member
|
Hi,
This is not a problem/bug, just wondering if anyone can help with optimizing the following expression if possible.
A is MatrixXcd, a is VectorXcd and the result is MatrixXcd. Thanks! |
Moderator
|
You can exploit that the result is self-adjoint this way:
If your matrices are large enough (>200x200), then you should get an almost x2 speedup. |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar