Which function is used to compute the cross-product of two arrays in NumPy?
Correct answer
D. np.cross()
12 views
D. np.cross()
12 views
The np.cross() function computes the cross-product of two arrays. It is commonly used in vector and matrix algebra, especially in applications involving vectors in three-dimensional space.
Not sure why the answer is D? Ask here and get an explanation.