Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <FadUnitTests.hpp>
Inherits TestFixture.
Public Member Functions | |
FadOpsUnitTest () | |
FadOpsUnitTest (int numComponents, 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) |
void | testComposite1 () |
void | testPlusLR () |
void | testMinusLR () |
void | testTimesLR () |
void | testDivideLR () |
void | testPowConstB () |
Protected Attributes | |
FadType | a_dfad |
FadType | b_dfad |
FadType | c_dfad |
FAD::Fad< ScalarType > | a_fad |
FAD::Fad< ScalarType > | b_fad |
FAD::Fad< ScalarType > | c_fad |
Sacado::Random< ScalarType > | urand |
int | n |
ScalarType | tol_a |
ScalarType | tol_r |
Definition at line 134 of file FadUnitTests.hpp.
FadOpsUnitTest< FadType, ScalarType >::FadOpsUnitTest | ( | ) |
Definition at line 379 of file FadUnitTests.hpp.
FadOpsUnitTest< FadType, ScalarType >::FadOpsUnitTest | ( | int | numComponents, |
ScalarType | absolute_tolerance, | ||
ScalarType | relative_tolerance | ||
) |
Definition at line 384 of file FadUnitTests.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 |
|
private |
void FadOpsUnitTest< FadType, ScalarType >::setUp | ( | ) |
Definition at line 392 of file FadUnitTests.hpp.
void FadOpsUnitTest< FadType, ScalarType >::tearDown | ( | ) |
Definition at line 416 of file FadUnitTests.hpp.
FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testAddition | , |
+ | |||
) |
FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testSubtraction | , |
- | |||
) |
FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testMultiplication | , |
* | |||
) |
FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testDivision | , |
/ | |||
) |
FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testEquals | ) |
FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testNotEquals | , |
! | |||
) |
FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testLessThanOrEquals | , |
<= | |||
) |
FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testGreaterThanOrEquals | , |
>= | |||
) |
FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testLessThan | ) |
FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testGreaterThan | ) |
FadOpsUnitTest< FadType, ScalarType >::BINARY_FUNC_TEST | ( | testPow | , |
pow | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_OP_TEST | ( | testUnaryPlus | , |
+ | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_OP_TEST | ( | testUnaryMinus | , |
- | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testExp | , |
exp | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testLog | , |
log | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testLog10 | , |
log10 | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testSqrt | , |
sqrt | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testCos | , |
cos | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testSin | , |
sin | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testTan | , |
tan | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testACos | , |
acos | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testASin | , |
asin | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testATan | , |
atan | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testCosh | , |
cosh | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testSinh | , |
sinh | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testTanh | , |
tanh | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testAbs | , |
abs | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testFAbs | , |
fabs | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testPlusEquals | , |
+ | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testMinusEquals | , |
- | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testTimesEquals | , |
* | |||
) |
FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testDivideEquals | , |
/ | |||
) |
void FadOpsUnitTest< FadType, ScalarType >::testMax | ( | ) |
Definition at line 420 of file FadUnitTests.hpp.
void FadOpsUnitTest< FadType, ScalarType >::testMin | ( | ) |
Definition at line 483 of file FadUnitTests.hpp.
|
inline |
Definition at line 242 of file FadUnitTests.hpp.
|
inline |
Definition at line 255 of file FadUnitTests.hpp.
|
inline |
Definition at line 261 of file FadUnitTests.hpp.
|
inline |
Definition at line 271 of file FadUnitTests.hpp.
|
inline |
Definition at line 281 of file FadUnitTests.hpp.
|
inline |
Definition at line 291 of file FadUnitTests.hpp.
|
inline |
Definition at line 302 of file FadUnitTests.hpp.
|
protected |
Definition at line 361 of file FadUnitTests.hpp.
|
protected |
Definition at line 361 of file FadUnitTests.hpp.
|
protected |
Definition at line 361 of file FadUnitTests.hpp.
|
protected |
Definition at line 364 of file FadUnitTests.hpp.
|
protected |
Definition at line 364 of file FadUnitTests.hpp.
|
protected |
Definition at line 364 of file FadUnitTests.hpp.
|
protected |
Definition at line 367 of file FadUnitTests.hpp.
|
protected |
Definition at line 370 of file FadUnitTests.hpp.
|
protected |
Definition at line 373 of file FadUnitTests.hpp.
|
protected |
Definition at line 373 of file FadUnitTests.hpp.