RichardsonExtrapolator

class RichardsonExtrapolator[source]

Bases: object

Richardson (Lagrange) extrapolation through all N points to s=0.

Given (s_i, y_i) pairs, fits the unique polynomial of degree N-1 passing through them and evaluates at s=0 via Lagrange weights:

P(0) = Σ_i y_i · Π_{j≠i} (-s_j) / (s_i - s_j)

Methods Summary

extrapolate(scale_factors, results)

Methods Documentation

extrapolate(scale_factors, results)[source]
Return type:

float