I know that matrices product is correct when the number of the columns of the first matrix is equal to the number of rows of the second matrix.
Why I can't do the product between a column vector and a row vector in Mathematica? For example:
$$\begin{bmatrix}1 \\ 2 \\ 3 \end{bmatrix} \, \begin{bmatrix}1 & 2 & 3\end{bmatrix}$$
Mathematica gives me the error: Dot::dotsh: Tensors {{1},{2},{3}} and {1,2,3} have incompatible shapes.
Thank you so much.
Comments
Post a Comment