Closed liulfy closed 4 years ago
in numpy, we can procedure element-wise product between 2darray and 1darray like this:
import numpy as np a = np.array([[1,2],[3,4]]) b = np.array([5,6]) a*b
array([[ 5, 12], [15, 24]])
So how to achieve the same effect in breeze?
my machine cannot compile (::, *), and how to achieve this?
need import breeze.linalg.*
in numpy, we can procedure element-wise product between 2darray and 1darray like this:
import numpy as np a = np.array([[1,2],[3,4]]) b = np.array([5,6]) a*b
So how to achieve the same effect in breeze?