Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <TayUnitTests.hpp>
Public Member Functions | |
TaylorOpsUnitTest () | |
TaylorOpsUnitTest (int degree, double absolute_tolerance, double relative_tolerance) | |
~TaylorOpsUnitTest () | |
void | setUp () |
void | tearDown () |
BINARY_OP_TEST (testAddition,+) | |
BINARY_OP_TEST (testSubtraction,-) | |
BINARY_OP_TEST (testMultiplication,*) | |
BINARY_OP_TEST (testDivision,/) | |
RELOP_OP_TEST (testEquals,==) | |
RELOP_OP_TEST (testNotEquals,!=) | |
RELOP_OP_TEST (testLessThanOrEquals,<=) | |
RELOP_OP_TEST (testGreaterThanOrEquals, >=) | |
RELOP_OP_TEST (testLessThan,<) | |
RELOP_OP_TEST (testGreaterThan, >) | |
BINARY_FUNC_TEST (testPow, pow) | |
BINARY_FUNC_TEST (testMax, max) | |
BINARY_FUNC_TEST (testMin, min) | |
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 (testFAbs, fabs) | |
UNARY_ASSIGNOP_TEST (testPlusEquals,+=) | |
UNARY_ASSIGNOP_TEST (testMinusEquals,-=) | |
UNARY_ASSIGNOP_TEST (testTimesEquals,*=) | |
UNARY_ASSIGNOP_TEST (testDivideEquals,/=) | |
template<typename ScalarT > | |
ScalarT | composite1 (const ScalarT &a, const ScalarT &b) |
void | testComposite1 () |
void | testDiff1 () |
void | testDiff3 () |
void | print_poly (double *x) |
void | print_diff (const TaylorType &x_dtay, double *x_adolc) |
Protected Attributes | |
TaylorType | a_dtay |
TaylorType | b_dtay |
TaylorType | c_dtay |
double ** | X |
double ** | Y |
Sacado::Random< double > | urand |
int | d |
double | tol_a |
double | tol_r |
Definition at line 291 of file TayUnitTests.hpp.
TaylorOpsUnitTest< TaylorType >::TaylorOpsUnitTest | ( | ) |
Definition at line 458 of file TayUnitTests.hpp.
TaylorOpsUnitTest< TaylorType >::TaylorOpsUnitTest | ( | int | degree, |
double | absolute_tolerance, | ||
double | relative_tolerance | ||
) |
Definition at line 470 of file TayUnitTests.hpp.
TaylorOpsUnitTest< TaylorType >::~TaylorOpsUnitTest | ( | ) |
Definition at line 487 of file TayUnitTests.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 |
void TaylorOpsUnitTest< TaylorType >::setUp | ( | ) |
Definition at line 498 of file TayUnitTests.hpp.
void TaylorOpsUnitTest< TaylorType >::tearDown | ( | ) |
Definition at line 518 of file TayUnitTests.hpp.
TaylorOpsUnitTest< TaylorType >::BINARY_OP_TEST | ( | testAddition | , |
+ | |||
) |
TaylorOpsUnitTest< TaylorType >::BINARY_OP_TEST | ( | testSubtraction | , |
- | |||
) |
TaylorOpsUnitTest< TaylorType >::BINARY_OP_TEST | ( | testMultiplication | , |
* | |||
) |
TaylorOpsUnitTest< TaylorType >::BINARY_OP_TEST | ( | testDivision | , |
/ | |||
) |
TaylorOpsUnitTest< TaylorType >::RELOP_OP_TEST | ( | testEquals | ) |
TaylorOpsUnitTest< TaylorType >::RELOP_OP_TEST | ( | testNotEquals | , |
! | |||
) |
TaylorOpsUnitTest< TaylorType >::RELOP_OP_TEST | ( | testLessThanOrEquals | , |
<= | |||
) |
TaylorOpsUnitTest< TaylorType >::RELOP_OP_TEST | ( | testGreaterThanOrEquals | , |
>= | |||
) |
TaylorOpsUnitTest< TaylorType >::RELOP_OP_TEST | ( | testLessThan | ) |
TaylorOpsUnitTest< TaylorType >::RELOP_OP_TEST | ( | testGreaterThan | ) |
TaylorOpsUnitTest< TaylorType >::BINARY_FUNC_TEST | ( | testPow | , |
pow | |||
) |
TaylorOpsUnitTest< TaylorType >::BINARY_FUNC_TEST | ( | testMax | , |
max | |||
) |
TaylorOpsUnitTest< TaylorType >::BINARY_FUNC_TEST | ( | testMin | , |
min | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_OP_TEST | ( | testUnaryPlus | , |
+ | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_OP_TEST | ( | testUnaryMinus | , |
- | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testExp | , |
exp | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testLog | , |
log | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testLog10 | , |
log10 | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testSqrt | , |
sqrt | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testCos | , |
cos | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testSin | , |
sin | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testTan | , |
tan | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testACos | , |
acos | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testASin | , |
asin | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testATan | , |
atan | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testCosh | , |
cosh | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testSinh | , |
sinh | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testTanh | , |
tanh | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_FUNC_TEST | ( | testFAbs | , |
fabs | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_ASSIGNOP_TEST | ( | testPlusEquals | , |
+ | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_ASSIGNOP_TEST | ( | testMinusEquals | , |
- | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_ASSIGNOP_TEST | ( | testTimesEquals | , |
* | |||
) |
TaylorOpsUnitTest< TaylorType >::UNARY_ASSIGNOP_TEST | ( | testDivideEquals | , |
/ | |||
) |
|
inline |
Definition at line 394 of file TayUnitTests.hpp.
|
inline |
Definition at line 407 of file TayUnitTests.hpp.
|
inline |
Definition at line 420 of file TayUnitTests.hpp.
|
inline |
Definition at line 428 of file TayUnitTests.hpp.
void TaylorOpsUnitTest< TaylorType >::print_poly | ( | double * | x | ) |
Definition at line 521 of file TayUnitTests.hpp.
void TaylorOpsUnitTest< TaylorType >::print_diff | ( | const TaylorType & | x_dtay, |
double * | x_adolc | ||
) |
Definition at line 535 of file TayUnitTests.hpp.
|
protected |
Definition at line 441 of file TayUnitTests.hpp.
|
protected |
Definition at line 441 of file TayUnitTests.hpp.
|
protected |
Definition at line 441 of file TayUnitTests.hpp.
|
protected |
Definition at line 444 of file TayUnitTests.hpp.
|
protected |
Definition at line 444 of file TayUnitTests.hpp.
|
protected |
Definition at line 447 of file TayUnitTests.hpp.
|
protected |
Definition at line 450 of file TayUnitTests.hpp.
|
protected |
Definition at line 453 of file TayUnitTests.hpp.
|
protected |
Definition at line 453 of file TayUnitTests.hpp.