给个用tikz的笨办法
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\[
\begin{tikzpicture}
\matrix (m) [matrix of math nodes,
nodes={minimum width=6.5mm, minimum height=6.5mm, anchor=center},
left delimiter=(,
right delimiter=)
]{
1 & 2 & 3 & 1 & 0 & 0 \\
2 & 1 & 2 & 0 & 1 & 0 \\
1 & 3 & 4 & 0 & 0 & 1 \\
};
\draw[dashed]
([shift={(0,0.4)}]m-1-3.east) -- ([shift={(0,-0.45)}]m-3-3.east);
\node[inner sep =1pt](a) at([shift={(-2.1,0)}]m-1-1){$(-1)$};
\node[inner sep =1pt](b) at([shift={(-1.3,0)}]m-1-1){$(-2)$};
\draw[-latex,line width=0.4pt] (a)|-(-2.4,-0.65);
\draw[-latex,line width=0.4pt] (b)|-(-2.4,0);
\node at (2.8,0){$\longrightarrow$};
\end{tikzpicture}
\]
\end{document}











问 如何用nicematrix里用tikz打出如下公式