From 0ecb7c6884f0877bf862c6006676083d6807f80a Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Mon, 10 Feb 2025 12:29:43 +0100 Subject: [PATCH] update README --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2a6c3fc..e8d143c 100644 --- a/README.md +++ b/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. ## Examples -```julia-repl -julia> f = x -> cos(x); Jf = x -> -sin(x); check(f, Jf, rand()) -true +```julia +import TaylorTest + +f = x -> cos(x) +Jf = x -> -sin(x) + +TaylorTest.check(f, Jf, rand()) + +# [ Info: Approximation order ~ 1.0 +# true ```