Dual Numbers aer 2-part numbers like complex numbers, but different algebra. They are denoted as a + b*eps, where eps^2 = 0. eps, the nilpotent, is like imaginary unit of complex numbers. The neat utility of dual numbers is that if you use them instead of normal numbers in a function like sin(), derivative is implicitly calculated as a multiplier to the dual part.
More...
#include <DualNumber.h>
|
double | re = 0.0 |
|
double | du = 0.0 |
|
Dual Numbers aer 2-part numbers like complex numbers, but different algebra. They are denoted as a + b*eps, where eps^2 = 0. eps, the nilpotent, is like imaginary unit of complex numbers. The neat utility of dual numbers is that if you use them instead of normal numbers in a function like sin(), derivative is implicitly calculated as a multiplier to the dual part.
◆ DualNumber() [1/2]
Base::DualNumber::DualNumber |
( |
| ) |
|
|
inline |
◆ DualNumber() [2/2]
Base::DualNumber::DualNumber |
( |
double |
re, |
|
|
double |
du = 0.0 |
|
) |
| |
|
inline |
◆ operator-()
◆ du
double Base::DualNumber::du = 0.0 |
◆ re
double Base::DualNumber::re = 0.0 |
The documentation for this class was generated from the following file:
- D:/CadworkJobs/SoftwareProjekte/Lexocad/LexoGit/Lexocad/lexocad/Base/include/Base/DualNumber.h