From d21872f6a4ad3c06347b95939acd0411fed53231 Mon Sep 17 00:00:00 2001 From: Francesco Alemanno <50984334+francescoalemanno@users.noreply.github.com> Date: Fri, 1 May 2020 13:25:50 +0200 Subject: [PATCH 1/2] typo --- src/Richardson.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Richardson.jl b/src/Richardson.jl index cde8f5a..ca6f4c7 100644 --- a/src/Richardson.jl +++ b/src/Richardson.jl @@ -59,7 +59,7 @@ slow convergence from `extrapolate`, but you can pass a different value of `power` (e.g. `power=0.5`) if your `f` has some different (Puiseux) power-series expansion. Conversely, if `f` is an *even* function around `x0`, i.e. `f(x0+h) == f(x0-h)`, -so that its Taylor series containsonly *even* powers of `h`, +so that its Taylor series contains only *even* powers of `h`, you can accelerate convergence by passing `power=2`. """ function extrapolate(f, h_::Number; contract::Real=0.125, x0::Number=zero(h_), power::Number=1, From be513586d5f88811724f3f6f014f13852f9284ad Mon Sep 17 00:00:00 2001 From: Francesco Alemanno <50984334+francescoalemanno@users.noreply.github.com> Date: Fri, 1 May 2020 14:05:40 +0200 Subject: [PATCH 2/2] typo #2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01e2fb2..f1fe9d2 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ of `h` (by factors of `1/contract`). In general, the starting `h` should be large enough that `f(x0+h)` can be computed accurately and efficiently (e.g. without severe cancellation errors), but small enough that `f` does not -oscillate much between `x0` and `h`. i.e. `h` should be a typical +oscillate much between `x0` and `x0+h`. i.e. `h` should be a typical scale over which the function `f` varies significantly. Technically, Richardson extrapolation assumes that `f(x0+h)` can