Numpy dot() method returns the dot product of two arrays. For 2D vectors, it is equal to matrix multiplication. For 1D arrays, it is the inner product of the vectors. For N-dimensional arrays, it is the sum-product over the last axis of a and the second-last axis of b.

### Numpy dot()

Numpy dot() is a mathematical function that is used to return the mathematical dot of two given vectors (lists). The vectors can be single dimensional as well as multidimensional. In both cases, it follows the rule of the mathematical dot product.

### Syntax

```
numpy.dot(vector_a, vector_b, out = None)
```

#Python