Skip to content

Commit 042a369

Browse files
lkdvoskellertuer
andauthored
Update interface.md
Co-authored-by: Ronny Bergmann <git@ronnybergmann.net>
1 parent 703284a commit 042a369

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/src/interface.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ Our running example is Heron's / Babylonian method for estimating $\sqrt{S}$.
3838
(see also the concise background on Wikipedia: [Babylonian method (Heron's method)](https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)):
3939
Starting from an initial guess $x_0$, we may converge to the solution by iterating:
4040

41-
$$x_{k+1} = \frac{1}{2}\left(x_k + \frac{S}{x_k}\right)$$
41+
```math
42+
x_{k+1} = \frac{1}{2}\left(x_k + \frac{S}{x_k}\right)
43+
```
4244

4345
We therefore suggest the following concrete implementations of the abstract types provided by this package:
4446
They are illustrative; various performance and generality questions will be left unaddressed to keep this example simple.

0 commit comments

Comments
 (0)