![]() |
Belle II Software
release-08-02-04
|
Simple structure implementing dual numbers which are used for exact evaluation of the derivatives, see https://en.wikipedia.org/wiki/Automatic_differentiation#Automatic_differentiation_using_dual_numbers. More...
#include <beamHelpers.h>
Public Member Functions | |
| DualNumber (double X, double dX) | |
| constructor allowing to set the values | |
| DualNumber () | |
| constructor setting values to zero | |
Public Attributes | |
| double | x |
| nominal value of dual number | |
| double | dx |
| differential value of dual number, should be 1 if derivative is calculated | |
Simple structure implementing dual numbers which are used for exact evaluation of the derivatives, see https://en.wikipedia.org/wiki/Automatic_differentiation#Automatic_differentiation_using_dual_numbers.
Definition at line 38 of file beamHelpers.h.