simsopt
simsopt copied to clipboard
Standalone derivative evaluation
In the functions taylor_test1
and taylor_test2
in tests/geo/test_surface_objectives.py
, the function f has to be called with input x before evaluating derivatives through calls to df.
Why are the calls to the function, f
necessary before calling df?