Quantcast
Channel: Math.NET Numerics - Math.NET
Viewing all articles
Browse latest Browse all 224

Cannot find a Hadamard operation between a vector and a matrix that return a matrix using C#

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 224

Trending Articles