I want to put the following integer matrix into Smith Normal Form:
$$\begin{pmatrix} -9 & 6 \\ 5 & -2 \\ 6 & 3 \end{pmatrix}$$
I have done this and found the answer to be $$\begin{pmatrix} 1 & 0 \\ 0 & 3 \\ 0 & 0\end{pmatrix}$$
Could someone verify whether this is correct or not?