hadamard function hadamard(x:Real[_], y:Real[_]) -> Real[_] Hadamard (element-wise) vector product. function hadamard(X:Real[_,_], Y:Real[_,_]) -> Real[_,_] Hadamard (element-wise) matrix product.