Generalized dynamic analysis of structural single rocking walls (SRWs)