@@ -31,15 +31,16 @@ But this is note the fastest way possible. In order to achieve the best performa
3131intermediate storage. For this we have [ ` GradientConfig ` ] ( @ref ) and [ ` JacobianConfig ` ] ( @ref ) .
3232For single polynomial the API is as follows
3333``` julia
34- cfg = GradientConfig (f ) # this can be reused!
34+ cfg = config (f, x ) # this can be reused!
3535f (x) == evaluate (f, x, cfg)
3636# We can also compute the gradient of f at x
3737map (g -> g (x), ∇f) == gradient (f, x, cfg)
3838```
3939
4040We also have support for systems of polynomials:
4141``` julia
42- cfg = JacobianConfig ([f, f]) # this can be reused!
42+ F = System ([f, g])
43+ cfg = config (F, x) # this can be reused!
4344[f (x), f (x)] == evaluate ([f, f] x, cfg)
4445# We can also compute the jacobian of [f, f] at x
4546jacobian (f, x, cfg)
@@ -56,6 +57,6 @@ Make sure to also check out [`GradientDiffResult`](@ref) and [`JacobianDiffResul
5657## Safety notes
5758
5859!!! warning
59- For the evaluation multivariate variant of [ Horner's method ] ( https://en.wikipedia.org/wiki/Horner%27s_method )
60- is used. Due to that for polynomials with terms of degree over 43 we cannot guarantee
60+ The current implementation is not numerically stable in the sense that
61+ for polynomials with terms of degree over 43 we cannot guarantee
6162 an error of less than 1 [ ULP] ( https://en.wikipedia.org/wiki/Unit_in_the_last_place ) .
0 commit comments