Stability conditions based on Cauchy-matrix for some classes of time-varying linear difference equations