12 #define EIGEN_SCALAR_BINARY_OP_PLUGIN { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value); }
34 Scalar s1 = internal::random<Scalar>();
37 Index r = internal::random<Index>(0,
rows-1),
38 c = internal::random<Index>(0,
cols-1);
86 VERIFY(
g_called &&
"real * matrix<complex> not properly optimized");
90 VERIFY(
g_called &&
"matrix<complex> * real not properly optimized");
94 VERIFY(
g_called &&
"matrix<complex> / real not properly optimized");
98 VERIFY(
g_called &&
"real + matrix<complex> not properly optimized");
102 VERIFY(
g_called &&
"matrix<complex> + real not properly optimized");
106 VERIFY(
g_called &&
"real - matrix<complex> not properly optimized");
110 VERIFY(
g_called &&
"matrix<complex> - real not properly optimized");
119 m3 =
m2 = Matrix4d::Random()*1
e-20;