Skip to content

Commit

Permalink
Merge pull request #1 from francescoalemanno/patch-1
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
stevengj authored May 1, 2020
2 parents eddb5a5 + be51358 commit f10e52a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Richardson.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

2 comments on commit f10e52a

@stevengj
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/13889

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.0 -m "<description of version>" f10e52a2cdba7e1b9a2e80d62b01cb378fe0543f
git push origin v1.0.0

Please sign in to comment.