Skip to content

Commit ceb38b1

Browse files
authored
Update README.md
1 parent f8ee3bc commit ceb38b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Interpolation is most efficient and accurate if we evaluate our function at the
6767
xr = rand(10000) * 10 # 10000 uniform random points in [0, 10]
6868
c = chebregression(xr, f.(xr), 0, 10, 200) # fit to a degree-200 polynomial
6969
```
70+
which gives:
7071
```jl
7172
julia> maximum(@. abs(c(xx) - f(xx)))
7273
1.4655330320523241e-5

0 commit comments

Comments
 (0)