For example, if A is a double matrix, B is int matrix. A * B raises compiler error and it hast to be A.cast() * B or A * B.cast().
Why does eigen require this? It could have followed double * int = double convention of C++.
Is there a performance optimization for operation of the same scalar type?
Thank you very much!