Is there a way to create the doublesided arrow that goes from row 2 to row 4 to indicate a rowswitch? Thank you.
\documentclass{report}
\usepackage{amsmath, amssymb, graphics, setspace}
\begin{document}
\begin{equation}\notag
\left[
\begin{array}{cccc | c}
1 & 1 & 1 & 2 & 0\\
2 & 0 & -2 & 2 & 0\\
2 & 1 & 0 & 3 & 0\\
-1 & 2 & 5 & 1 & 0\\
\end{array}
\right]
\begin{array}{cc}
&\\
from\ here &\\
&\\
to\ here &\\
\end{array}
\end{equation}
\end{document}
Best Answer
You can use the
gauss
package, with some fixes:Note that you should use
equation*
rather thanequation
with\notag
.