numpynumpy.dot


Syntax

  • numpy.dot(a, b, out=None)

Parameters

NameDetails
aa numpy array
ba numpy array
outa numpy array

Remarks

numpy.dot

Returns the dot product of a and b. If a and b are both scalars or both 1-D arrays then a scalar is returned; otherwise an array is returned. If out is given, then it is returned.