Numpy Array Operations For Vectors In Python