Dot Product of 2 Column Matrices or 2 Row Matrices or a Row Matrix and a Column Matrix can be calculated Only if both the Matrices have the Same Number of Components/Elements.
The Dot Product is calculated by Multiplying the Corresponding Components of 2 Row/Column Matrices and Adding up All the Products.
For example lets consider a Column Matrix \(A\) and a Row Matrix \(B\) each having \(N\) Components as given in the following