Which function is used to perform element-wise multiplication of two arrays in NumPy?
Correct answer
B. np.multiply()
16 views
B. np.multiply()
16 views
The np.multiply() function performs element-wise multiplication of two arrays. It multiplies corresponding elements of the input arrays to produce a new array containing the result of the multiplication.
Not sure why the answer is B? Ask here and get an explanation.