|
MathLib
|
Functions | |
| void | IdentityDualIsAsExpected () |
| void | ZeroDualIsAsExpected () |
| void | MakePureDualSetsRealComponentToZero () |
| void | MakePureDualSetsDualComponentToGivenValue () |
| void | DotProductMultiplesCorrespondingElementsAndThenSumsTheResultingValues () |
| void | DualScalarSquareRootTimesItselfIsTheOriginalNumber () |
| void | OperatorEquality () |
| void | OperatorMultiply () |
| void | TestOperators () |
| void | Run () |
Contains the unit tests for Dual
| void DotProductMultiplesCorrespondingElementsAndThenSumsTheResultingValues | ( | ) |
Verifies the dot() function
Definition at line 75 of file TestDualNumber.cpp.
| void DualScalarSquareRootTimesItselfIsTheOriginalNumber | ( | ) |
Verifies the dualscalar_sqrt() function
Definition at line 88 of file TestDualNumber.cpp.
| void IdentityDualIsAsExpected | ( | ) |
Verify the representation of a Dual's identity representation
Definition at line 32 of file TestDualNumber.cpp.
| void MakePureDualSetsDualComponentToGivenValue | ( | ) |
Verify that make_pure sets dual() to the given value
Definition at line 65 of file TestDualNumber.cpp.
| void MakePureDualSetsRealComponentToZero | ( | ) |
Verify that make_pure sets real() to zero
Definition at line 56 of file TestDualNumber.cpp.
| void OperatorEquality | ( | ) |
Definition at line 99 of file TestDualNumber.cpp.
| void OperatorMultiply | ( | ) |
Definition at line 108 of file TestDualNumber.cpp.
| void Run | ( | ) |
Run all of the unit tests in this namespace
Definition at line 128 of file TestDualNumber.cpp.
| void TestOperators | ( | ) |
Definition at line 119 of file TestDualNumber.cpp.
| void ZeroDualIsAsExpected | ( | ) |
Verify the representation of a Dual's zero representation
Definition at line 44 of file TestDualNumber.cpp.