To begin with, we need some of the basic mathematics concepts in place for a better understanding of the algorithm. The topics from mathematics that we need are listed as follows:
- Vectors: Vectors have magnitude and direction. So, when we draw a vector in vector space it carries some magnitude as well as direction. You can perform basic math operations on vectors.
- Matrices: A matrix is a grid of numbers or frequency count of words. It has rows and columns. We can define the dimensions of the matrix by counting the number of rows and columns it contains. You can refer to this link for more information on matrices.
- Partial derivative: If there is a function that contains more than ...