# Matrix Multiplication (Same dimension) [closed]

How do you multiply two of the same matrix with same dimension like example below? Do I need to transverse the second matrix or dot product?

3x1 * 3x1

$$[1,2,3]*[4,5,6]\\ [4,5,6]*[1,2,3]$$

## closed as off-topic by José Carlos Santos, Henrik, GNUSupporter 8964民主女神 地下教會, Namaste, A. GoodierMar 31 '18 at 12:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – José Carlos Santos, Henrik, GNUSupporter 8964民主女神 地下教會, Namaste, A. Goodier
If this question can be reworded to fit the rules in the help center, please edit the question.

The definition of matrix multiplication of two matrices $AB$ requires $A$ is of size $m$ by $p$ and $B$ is of size $p$ by $n$ and the produce is of size $m$ by $n$.
In some programming language such as Python, it might be defined as the dot product when you deal with $2$ vectors.
• dot product for two real column vectors can be written as $u^Tv$. dot product of two real row vectors can be written as $uv^T$. notation wise, we do write it as $\langle u, v \rangle$. – Siong Thye Goh Mar 31 '18 at 9:07