下列矩阵中, 与矩阵 $\left(\begin{array}{rrr}1 & 0 & 0 \\ 0 & -1 & 1 \\ 0 & 0 & -1\end{array}\right)$ 相似的为
$\text{A.}$ $\left(\begin{array}{rrr}1 & 0 & 1 \\ 0 & -1 & 0 \\ 0 & 0 & -1\end{array}\right)$.
$\text{B.}$ $\left(\begin{array}{rrr}1 & 1 & 1 \\ 0 & -1 & 2 \\ 0 & 0 & -1\end{array}\right)$.
$\text{C.}$ $\left(\begin{array}{rrr}1 & 2 & 1 \\ 0 & -1 & 0 \\ 0 & 0 & -1\end{array}\right)$.
$\text{D.}$ $\left(\begin{array}{rrr}3 & 2 & -2 \\ 0 & -1 & 0 \\ 4 & 2 & -3\end{array}\right)$.