Given the discrete-time Lyapunov equation (1):
$$ A^T P A - P = bb^T $$
such that $P$ shall be diagonal and positive definite and $b$ is a column vector. How to characterize $A$ and $b$, where there are diagonal solutions $P \succ 0$? More precisely,
$$ S = \{A \in \mathbb{R}^{n\times n}, b \in \mathbb{R}^{n} \mid \exists \textrm{ diagonal } P \succ 0 \textrm{ for } (1) \} $$
How to characterize $S$?