Minimum polynomial extrapolation

In mathematics, minimum polynomial extrapolation is a sequence transformation used for convergence acceleration of vector sequences, due to Cabay and Jackson.

While Aitken's method is the most famous, it often fails for vector sequences. An effective method for vector sequences is the minimum polynomial extrapolation. It is usually phrased in terms of the fixed point iteration:


 * $$x_{k+1}=f(x_k).$$

Given iterates $$x_1, x_2, ..., x_k$$ in $$\mathbb R^n$$, one constructs the $$n \times (k-1)$$ matrix $$U=(x_2-x_1, x_3-x_2, ..., x_k-x_{k-1})$$ whose columns are the $$k-1$$ differences. Then, one computes the vector $$c=-U^+ (x_{k+1}-x_k)$$ where $$U^+$$ denotes the Moore–Penrose pseudoinverse of $$U$$. The number 1 is then appended to the end of $$c$$, and the extrapolated limit is


 * $$s={ X c \over \sum_{i=1}^k c_i },$$

where $$X=(x_2, x_3, ..., x_{k+1})$$ is the matrix whose columns are the $$k$$ iterates starting at 2.

The following 4 line MATLAB code segment implements the MPE algorithm: