I want draw arrows between two column vectors like I have shown here.
To make this image I rendered the two matrices in LaTeX like so:
\[
\vec{P}=\begin{bmatrix}
A_1\\
A_2\\
A_1\\
A_3\\
\cdot\\
\cdot\\
\cdot\\
A_6\\
A_5
\end{bmatrix}
\qquad{\longrightarrow}\qquad
\begin{bmatrix}
A_1\\
A_1\\
A_1\\
A_2\\
\cdot\\
\cdot\\
\cdot\\
A_5\\
A_3
\end{bmatrix}=\vec{P}'
\]
And then I exported the PNG to a drawing app and added the arrows going between entries. Is there some way I can do this directly in LaTeX to make it look nice?