Numpy slow at vector cross product?

Skip Montanaro skip.montanaro at gmail.com
Mon Nov 21 10:34:52 EST 2016


Perhaps your implementation isn't as general as numpy's? I pulled out
the TestCross class from numpy.core.tests.test_numeric and replaced
calls to np.cross with calls to your function. I got an error in
test_broadcasting_shapes:

ValueError: operands could not be broadcast together with shapes (1,2) (5,)

Skip



More information about the Python-list mailing list