What is the best way to construct a large tridiagonal matrix, in the following form (notably with alternating signs)?
$\mathbf M = \begin{pmatrix} 0 & a & 0 & 0 & 0 & \cdots \\ a & 0 & -a & 0 & 0&\cdots \\ 0 & -a & 0 & a & 0 &\cdots \\ 0 & 0 & a & 0 & -a &\cdots \\ \vdots & \vdots & \vdots & \vdots & \vdots & \ddots \end{pmatrix}$
I was using code like that shown below to produce constant sign diagonals of $a$ above and below the main diagonal for an $n\times n$ matrix.
DiagonalMatrix[Array[a &, n - 1], -1]
DiagonalMatrix[Array[a &, n - 1], 1]
Any help is appreciated.