Belle II Software  release-08-01-10
DualNumber Struct Reference

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: