Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <NestedFadUnitTests.hpp>
Inherits TestFixture.
Public Types | |
typedef FadFadType::value_type | FadType |
Public Member Functions | |
FadFadOpsUnitTest () | |
FadFadOpsUnitTest (int numComponents1, int numComponents2, ScalarType absolute_tolerance, ScalarType relative_tolerance) | |
void | setUp () |
void | tearDown () |
BINARY_OP_TEST (testAddition,+) | |
BINARY_OP_TEST (testSubtraction, -) | |
BINARY_OP_TEST (testMultiplication, *) | |
BINARY_OP_TEST (testDivision,/) | |
RELOP_TEST (testEquals,==) | |
RELOP_TEST (testNotEquals, !=) | |
RELOP_TEST (testLessThanOrEquals,<=) | |
RELOP_TEST (testGreaterThanOrEquals, >=) | |
RELOP_TEST (testLessThan,<) | |
RELOP_TEST (testGreaterThan, >) | |
BINARY_FUNC_TEST (testPow, pow) | |
UNARY_OP_TEST (testUnaryPlus,+) | |
UNARY_OP_TEST (testUnaryMinus, -) | |
UNARY_FUNC_TEST (testExp, exp) | |
UNARY_FUNC_TEST (testLog, log) | |
UNARY_FUNC_TEST (testLog10, log10) | |
UNARY_FUNC_TEST (testSqrt, sqrt) | |
UNARY_FUNC_TEST (testCos, cos) | |
UNARY_FUNC_TEST (testSin, sin) | |
UNARY_FUNC_TEST (testTan, tan) | |
UNARY_FUNC_TEST (testACos, acos) | |
UNARY_FUNC_TEST (testASin, asin) | |
UNARY_FUNC_TEST (testATan, atan) | |
UNARY_FUNC_TEST (testCosh, cosh) | |
UNARY_FUNC_TEST (testSinh, sinh) | |
UNARY_FUNC_TEST (testTanh, tanh) | |
UNARY_FUNC_TEST (testAbs, abs) | |
UNARY_FUNC_TEST (testFAbs, fabs) | |
UNARY_ASSIGNOP_TEST (testPlusEquals,+=) | |
UNARY_ASSIGNOP_TEST (testMinusEquals, -=) | |
UNARY_ASSIGNOP_TEST (testTimesEquals, *=) | |
UNARY_ASSIGNOP_TEST (testDivideEquals,/=) | |
void | testMax () |
void | testMin () |
template<typename ScalarT > | |
ScalarT | composite1 (const ScalarT &a, const ScalarT &b) |
template<typename ScalarT > | |
ScalarT | composite1_fad (const ScalarT &a, const ScalarT &b) |
void | testComposite1 () |
void | testPlusLR () |
void | testMinusLR () |
void | testTimesLR () |
void | testDivideLR () |
Protected Attributes | |
FadFadType | a_dfad |
FadFadType | b_dfad |
FadFadType | c_dfad |
FAD::Fad< FadType > | a_fad |
FAD::Fad< FadType > | b_fad |
FAD::Fad< FadType > | c_fad |
Sacado::Random< ScalarType > | urand |
int | n1 |
int | n2 |
ScalarType | tol_a |
ScalarType | tol_r |
Definition at line 142 of file NestedFadUnitTests.hpp.
typedef FadFadType::value_type FadFadOpsUnitTest< FadFadType, ScalarType >::FadType |
Definition at line 197 of file NestedFadUnitTests.hpp.
FadFadOpsUnitTest< FadFadType, ScalarType >::FadFadOpsUnitTest | ( | ) |
Definition at line 348 of file NestedFadUnitTests.hpp.
FadFadOpsUnitTest< FadFadType, ScalarType >::FadFadOpsUnitTest | ( | int | numComponents1, |
int | numComponents2, | ||
ScalarType | absolute_tolerance, | ||
ScalarType | relative_tolerance | ||
) |
Definition at line 353 of file NestedFadUnitTests.hpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void FadFadOpsUnitTest< FadFadType, ScalarType >::setUp | ( | ) |
Definition at line 363 of file NestedFadUnitTests.hpp.
void FadFadOpsUnitTest< FadFadType, ScalarType >::tearDown | ( | ) |
Definition at line 409 of file NestedFadUnitTests.hpp.
FadFadOpsUnitTest< FadFadType, ScalarType >::BINARY_OP_TEST | ( | testAddition | , |
+ | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::BINARY_OP_TEST | ( | testSubtraction | , |
- | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::BINARY_OP_TEST | ( | testMultiplication | , |
* | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::BINARY_OP_TEST | ( | testDivision | , |
/ | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::RELOP_TEST | ( | testEquals | ) |
FadFadOpsUnitTest< FadFadType, ScalarType >::RELOP_TEST | ( | testNotEquals | , |
! | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::RELOP_TEST | ( | testLessThanOrEquals | , |
<= | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::RELOP_TEST | ( | testGreaterThanOrEquals | , |
>= | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::RELOP_TEST | ( | testLessThan | ) |
FadFadOpsUnitTest< FadFadType, ScalarType >::RELOP_TEST | ( | testGreaterThan | ) |
FadFadOpsUnitTest< FadFadType, ScalarType >::BINARY_FUNC_TEST | ( | testPow | , |
pow | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_OP_TEST | ( | testUnaryPlus | , |
+ | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_OP_TEST | ( | testUnaryMinus | , |
- | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testExp | , |
exp | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testLog | , |
log | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testLog10 | , |
log10 | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testSqrt | , |
sqrt | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testCos | , |
cos | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testSin | , |
sin | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testTan | , |
tan | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testACos | , |
acos | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testASin | , |
asin | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testATan | , |
atan | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testCosh | , |
cosh | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testSinh | , |
sinh | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testTanh | , |
tanh | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testAbs | , |
abs | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_FUNC_TEST | ( | testFAbs | , |
fabs | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testPlusEquals | , |
+ | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testMinusEquals | , |
- | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testTimesEquals | , |
* | |||
) |
FadFadOpsUnitTest< FadFadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testDivideEquals | , |
/ | |||
) |
void FadFadOpsUnitTest< FadFadType, ScalarType >::testMax | ( | ) |
Definition at line 413 of file NestedFadUnitTests.hpp.
void FadFadOpsUnitTest< FadFadType, ScalarType >::testMin | ( | ) |
Definition at line 478 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 251 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 265 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 278 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 284 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 294 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 304 of file NestedFadUnitTests.hpp.
|
inline |
Definition at line 314 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 327 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 327 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 327 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 330 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 330 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 330 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 333 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 336 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 336 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 339 of file NestedFadUnitTests.hpp.
|
protected |
Definition at line 339 of file NestedFadUnitTests.hpp.