HadamardProduct infers element type