Difference integrability conditions for parameterized linear difference and differential equations