Factor gradient iterative algorithm for solving a class of discrete periodic Sylvester matrix equations.