Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <LogicalSparseUnitTests.hpp>
Inherits TestFixture.
Public Member Functions | |
LogicalSparseOpsUnitTest () | |
LogicalSparseOpsUnitTest (int numComponents, double absolute_tolerance, double relative_tolerance) | |
void | setUp () |
void | tearDown () |
void | compareFads (const DFadType &x_dfad, const LSType &x_ls) |
void | compareDoubles (double a, double b) |
void | compareBools (bool a, bool b) |
void | compareDx (double a, bool b) |
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 () |
Protected Attributes | |
DFadType | a_dfad |
DFadType | b_dfad |
DFadType | c_dfad |
LSType | a_ls |
LSType | b_ls |
LSType | c_ls |
Sacado::Random< double > | urand |
int | n |
double | tol_a |
double | tol_r |
Definition at line 120 of file LogicalSparseUnitTests.hpp.
LogicalSparseOpsUnitTest::LogicalSparseOpsUnitTest | ( | ) |
Definition at line 36 of file LogicalSparseUnitTests.cpp.
LogicalSparseOpsUnitTest::LogicalSparseOpsUnitTest | ( | int | numComponents, |
double | absolute_tolerance, | ||
double | relative_tolerance | ||
) |
Definition at line 39 of file LogicalSparseUnitTests.cpp.
|
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 LogicalSparseOpsUnitTest::setUp | ( | ) |
Definition at line 47 of file LogicalSparseUnitTests.cpp.
void LogicalSparseOpsUnitTest::tearDown | ( | ) |
Definition at line 73 of file LogicalSparseUnitTests.cpp.
Definition at line 75 of file LogicalSparseUnitTests.cpp.
void LogicalSparseOpsUnitTest::compareDoubles | ( | double | a, |
double | b | ||
) |
Definition at line 97 of file LogicalSparseUnitTests.cpp.
void LogicalSparseOpsUnitTest::compareBools | ( | bool | a, |
bool | b | ||
) |
Definition at line 101 of file LogicalSparseUnitTests.cpp.
void LogicalSparseOpsUnitTest::compareDx | ( | double | a, |
bool | b | ||
) |
Definition at line 105 of file LogicalSparseUnitTests.cpp.
LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testAddition | , |
+ | |||
) |
LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testSubtraction | , |
- | |||
) |
LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testMultiplication | , |
* | |||
) |
LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testDivision | , |
/ | |||
) |
LogicalSparseOpsUnitTest::RELOP_TEST | ( | testEquals | ) |
LogicalSparseOpsUnitTest::RELOP_TEST | ( | testNotEquals | , |
! | |||
) |
LogicalSparseOpsUnitTest::RELOP_TEST | ( | testLessThanOrEquals | , |
<= | |||
) |
LogicalSparseOpsUnitTest::RELOP_TEST | ( | testGreaterThanOrEquals | , |
>= | |||
) |
LogicalSparseOpsUnitTest::RELOP_TEST | ( | testLessThan | ) |
LogicalSparseOpsUnitTest::RELOP_TEST | ( | testGreaterThan | ) |
LogicalSparseOpsUnitTest::BINARY_FUNC_TEST | ( | testPow | , |
pow | |||
) |
LogicalSparseOpsUnitTest::UNARY_OP_TEST | ( | testUnaryPlus | , |
+ | |||
) |
LogicalSparseOpsUnitTest::UNARY_OP_TEST | ( | testUnaryMinus | , |
- | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testExp | , |
exp | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testLog | , |
log | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testLog10 | , |
log10 | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testSqrt | , |
sqrt | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testCos | , |
cos | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testSin | , |
sin | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testTan | , |
tan | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testACos | , |
acos | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testASin | , |
asin | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testATan | , |
atan | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testCosh | , |
cosh | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testSinh | , |
sinh | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testTanh | , |
tanh | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testAbs | , |
abs | |||
) |
LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testFAbs | , |
fabs | |||
) |
LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testPlusEquals | , |
+ | |||
) |
LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testMinusEquals | , |
- | |||
) |
LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testTimesEquals | , |
* | |||
) |
LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testDivideEquals | , |
/ | |||
) |
void LogicalSparseOpsUnitTest::testMax | ( | ) |
Definition at line 109 of file LogicalSparseUnitTests.cpp.
void LogicalSparseOpsUnitTest::testMin | ( | ) |
Definition at line 206 of file LogicalSparseUnitTests.cpp.
|
inline |
Definition at line 238 of file LogicalSparseUnitTests.hpp.
|
inline |
Definition at line 251 of file LogicalSparseUnitTests.hpp.
|
inline |
Definition at line 257 of file LogicalSparseUnitTests.hpp.
|
inline |
Definition at line 267 of file LogicalSparseUnitTests.hpp.
|
inline |
Definition at line 277 of file LogicalSparseUnitTests.hpp.
|
inline |
Definition at line 287 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 300 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 300 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 300 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 303 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 303 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 303 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 306 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 309 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 312 of file LogicalSparseUnitTests.hpp.
|
protected |
Definition at line 312 of file LogicalSparseUnitTests.hpp.