update README
This commit is contained in:
parent
0725b1bc58
commit
0ecb7c6884
1 changed files with 10 additions and 3 deletions
13
README.md
13
README.md
|
@ -14,7 +14,14 @@ Returns true if `Jf` approximates the derivative/gradient/Jacobian of `f` at poi
|
||||||
effectively ignoring the dependency of `f` on these components.
|
effectively ignoring the dependency of `f` on these components.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
```julia-repl
|
```julia
|
||||||
julia> f = x -> cos(x); Jf = x -> -sin(x); check(f, Jf, rand())
|
import TaylorTest
|
||||||
true
|
|
||||||
|
f = x -> cos(x)
|
||||||
|
Jf = x -> -sin(x)
|
||||||
|
|
||||||
|
TaylorTest.check(f, Jf, rand())
|
||||||
|
|
||||||
|
# [ Info: Approximation order ~ 1.0
|
||||||
|
# true
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue