Convergence rate analysis of an extrapolated proximal difference-of-convex algorithm