NumPy-matmul

In this chapter, we will discuss about NumPy-matmul. The numpy.matmul() function returns the matrix product of two arrays. While it returns a normal product for 2-D arrays, if dimensions of either argument…

Continue ReadingNumPy-matmul

NumPy-inner

In this chapter, we will discuss about NumPy-inner. This function returns the inner product of vectors for 1-D arrays. For higher dimensions, it returns the sum-product over the last axes.…

Continue ReadingNumPy-inner

NumPy-vdot

In this chapter, we will discuss about NumPy-vdot. This function returns the dot product of the two vectors. If the first argument is complex, then its conjugate is used for…

Continue ReadingNumPy-vdot

NumPy-dot

In this chapter, we will discuss about NumPy-dot. This function returns the dot product of two arrays. For 2-D vectors, it is the equivalent to matrix multiplication. For 1-D arrays,…

Continue ReadingNumPy-dot