- #1
member 428835
Hi PF!
Given a matrix and vector $$
\begin{bmatrix}
a & b & c\\
d & e & f
\end{bmatrix},\\
\begin{bmatrix}
1\\
2
\end{bmatrix}
$$
how can I merge the two to have something like this
$$
\begin{bmatrix}
(1,a) & (1,b) & (1,c)\\
(2,d) & (2,e) & (2,f)
\end{bmatrix}
$$
Given a matrix and vector $$
\begin{bmatrix}
a & b & c\\
d & e & f
\end{bmatrix},\\
\begin{bmatrix}
1\\
2
\end{bmatrix}
$$
how can I merge the two to have something like this
$$
\begin{bmatrix}
(1,a) & (1,b) & (1,c)\\
(2,d) & (2,e) & (2,f)
\end{bmatrix}
$$