// Compute element-wise product C[i,j] = A[i,j] * B[i,j]. Returns new matrix. func Mul(A, B *matrix.ComplexMatrix) *matrix.ComplexMatrix { if !A.SizeMatch(B.Size()) { return nil } C := A.Copy() return C.Mul(B) }