Do you mean elementwise multiplication?
M = elem_mult(A, B)
Dear all,
Some Hadamard products are involved in my equations, and I did not find a way to implement it. The idea is to apply a element by element product between two matrices A and B, where :
- A and B have the same size, let say tensor of dim (N,)
- M = A*B is also a tensor of dim (N,) where each elements M[i] = A[i]*B[i] (not summed!) ; (same with rank 2 tensors)
So I would like to use the same kind of product as the dot product, but without summing the elements. Is that possible ?
Thanks,
Floriane