The following is an $n \times n$ circulant matrix where $h \in {\Bbb R} \setminus \{ 1 \}$. How can I find an explicit formula for the inverse of this matrix?
$$ A = \begin{bmatrix} 2 & -h & 0 & 0 & \dots & \dots & 0 & -h \\ -h & 2 & -h & 0 & \dots & \dots & 0 & 0 \\ 0 & -h & 2 & -h & \ddots & &\vdots&\vdots\\ 0 & 0 & -h & 2 & \ddots & \ddots&\vdots&\vdots\\ \vdots & \vdots & \vdots & \ddots & \ddots&\ddots&0&0\\ \vdots & \vdots &\vdots&...&...&...&-h&0\\ 0&0&\dots&\dots&0&-h&2&-h\\ -h&0&\dots&\dots&0&0&-h&2 \end{bmatrix} $$
So for $M = QDQ^T$, I found that $D = \operatorname{diag} \left( 2 \left(1 - h \cos \left(2\pi \frac{l}{N} \right) \right) \right)$ from $0$ to $N-1$ somehow by reading some papers on unitary van der Monde matrices and shift matrices. However, I don't fully understand how this works. Can someone please show me how to derive an explicit formula for the inverse of this matrix and explain why we are able to do so?
Appreciate any help in advance.