numpy/dot

Dot Product

Matrix dot product

numpy
math
matrix

Command

np.dot(arr1, arr2)

Explanation

Computes dot product of two arrays.

Examples

Dot product = 11

np.dot([1,2], [3,4])