NumCpp icon indicating copy to clipboard operation
NumCpp copied to clipboard

Multiply with BroadCasting. e.g. shape: [1,3] * [2,1] => [2 * 3]

Open ValkyriaLenneth opened this issue 3 years ago • 0 comments

Thanks for you project. But I found that the broadcasting in numpy is likely not supported in NumCpp. For example, I have two matrixs: A=[1,2,3] B = [[1], [2], [3]] In numpy, A * B is [ [1,2,3], [2,4,6], [3,6,9]] However, in NumCpp, the error occured. Thus I want to ask that are the shapes of two matrixs must be the same in NumCpp?

ValkyriaLenneth avatar Apr 20 '22 07:04 ValkyriaLenneth