10. pygsl.sum Series acceleration

This chapter describes the use of the series acceleration tools based on the Levin -transform. This method takes a small number of terms from the start of a series and uses a systematic approximation to compute an extrapolated value and an estimate of its error. The -transform works for both convergent and divergent series, including asymptotic series.

 where (10.1)

, and is an estimate of the absolute error.

Note: This function is intended for summing analytic series where each term is known to high accuracy, and the rounding errors are assumed to originate from finite precision. They are taken to be relative errors of order GSL_DBL_EPSILON for each term (as defined in the GNU Scientific Library source code).

Subsections