Behavioral Modelling of Digital Devices Via Composite Local-Linear State-Space Relations