@TomC wrote:
I can do the following using numpy:
a = np.array([[1,2],[3,4],[5,6]]) # a 3x2 matrix
b = np.array([1, 2, 3]) # a 1x3 array
c = np.multiply(a.T,b)print© returns
[[ 1 2]
[ 6 8]
[15 18]]Why cant I do the same Hadamard operation between a vector and a matrix using Math.Net with C#?
Posts: 1
Participants: 1