Solving linear DSGE models with structure-preserving doubling methods | Synapse