Execution Time4.07s

Test: mathmore-testDerivation (Passed)
Build: master-x86_64-centos7-clang100-opt-no-rt-cxxmodules (olsnba08.cern.ch) on 2019-11-14 01:39:53
Repository revision: 32b17abcda23e44b64218a42d0ca69cb30cda7e0

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Derivative of function inheriting from IGenFunction f(x) = 2 + 3x + 4x^2 at x = 2
Return code:  0
Result:       19 +/- 4.51491e-06
Exact result: 19
EvalForward:  19
EvalBackward: 19

Derivative of a free function f(x) = x^(3/2) at x = 2
EvalCentral:  2.12132
EvalForward:  2.12132
EvalBackward: 2.12132
Exact result: 2.12132

Derivative of a free function wrapped in a Functor f(x) = x^(3/2) at x = 2
EvalCentral:  2.12132
EvalForward:  2.12132
EvalBackward: 2.12132
Exact result: 2.12132

Tes a derivator without a function
GSLDerivator: Error : The function has not been specified
0


***************************************************************
Test derivation performances....

Time using ROOT::Math::Derivator :	0.107502
42999963.4891696423
Time using ROOT::Math::Derivator(2):	0.18768
42999994.922070168
Time using ROOT::Math::Derivator(3):	0.102477
42999963.4891696423
Time using TF1::Derivative :		0.285695
42999960.0000026971


***************************************************************
Test derivation performances - using a User function

Time using ROOT::Math::Derivator :	0.229066
-99995.9598531582742
Time using ROOT::Math::Derivator(2):	0.441671
-99995.9541418749432
Time using ROOT::Math::Derivator(3):	0.231561
-99995.9598531582742
Time using TF1::Derivative :		0.264993
-99995.9599830689403
Time using ROOT::Math::Derivator Multi:	0.237925
-99995.9598531582742


***************************************************************
Test derivation performances - using a Gaussian Param function

Time using ROOT::Math::Derivator (1D) :	0.341554
25239.2585945392566
Time using ROOT::Math::Derivator(ND):	0.294754
25239.2585945392566
Time using TF1::ParamGradient:		0.318103
25239.2585944561288