On Tuesday, October 18, 2016 at 4:10:57 PM UTC-4, Stefan Karpinski wrote: > > Since it uses the in-place assignment operator .= it could be made to work > as desired, but there's some designing to do. >
The problem is that it doesn't know that * is a matrix multiplication until compile-time. In any case, I don't think there's a huge amount to be gained from special syntax here. Unlike broadcast operations, matrix multiplications cannot in general be fused with other operations. So you might as well do A_mul_B!.