NumPy has a separate module for linear algebra. The module contains all the functions necessary for linear algebra. numpy.linalg is the package in NumPy for NumPy Linear Algebra. Linear Algebra is the branch of mathematics concerned with vector spaces and mapping amongst the spaces.
Let us see various Matrix and Vector Products in NumPy:
For matrix and vector computations it has the following functions:
The dot function gives the dot product of two matrices. It is similar to matrix multiplication.
The vdot function, on the other hand, is used for the dot product of two or more vectors. It is equivalent to the sum of the array elements.
#numpy tutorials #numpy eigenvalue functions #numpy