Go to the source code of this file.
|
template<typename TYPE > |
int | PrintTestResults (std::string, TYPE, TYPE, bool) |
|
int | ReturnCodeCheck (std::string, int, int, bool) |
|
template<typename TYPE > |
TYPE | GetRandom (TYPE, TYPE) |
|
template<> |
int | GetRandom (int, int) |
|
template<> |
double | GetRandom (double, double) |
|
template<typename T > |
std::complex< T > | GetRandom (std::complex< T >, std::complex< T >) |
|
Teuchos::RCP< DMatrix > | GetRandomMatrix (int m, int n) |
|
Teuchos::RCP< DVector > | GetRandomVector (int n) |
|
int | CompareVectors (const SerialDenseVector< OTYPE, STYPE > &Vector1, const SerialDenseVector< OTYPE, STYPE > &Vector2, ScalarTraits< STYPE >::magnitudeType Tolerance, bool verbose) |
|
int | main (int argc, char *argv[]) |
|
template<> |
int | GetRandom (int Low, int High) |
|
template<> |
double | GetRandom (double Low, double High) |
|
◆ OTYPE
◆ STYPE
◆ SCALARMAX
#define SCALARMAX STYPE(10) |
◆ DVector
◆ DMatrix
◆ PrintTestResults()
template<typename TYPE >
int PrintTestResults |
( |
std::string |
testName, |
|
|
TYPE |
calculatedResult, |
|
|
TYPE |
expectedResult, |
|
|
bool |
verbose |
|
) |
| |
◆ ReturnCodeCheck()
int ReturnCodeCheck |
( |
std::string |
testName, |
|
|
int |
returnCode, |
|
|
int |
expectedResult, |
|
|
bool |
verbose |
|
) |
| |
◆ GetRandom() [1/6]
template<typename TYPE >
TYPE GetRandom |
( |
TYPE |
Low, |
|
|
TYPE |
High |
|
) |
| |
◆ GetRandom() [2/6]
template<>
int GetRandom |
( |
int |
Low, |
|
|
int |
High |
|
) |
| |
◆ GetRandom() [3/6]
template<>
double GetRandom |
( |
double |
Low, |
|
|
double |
High |
|
) |
| |
◆ GetRandom() [4/6]
template<typename T >
std::complex< T > GetRandom |
( |
std::complex< T > |
Low, |
|
|
std::complex< T > |
High |
|
) |
| |
◆ GetRandomMatrix()
◆ GetRandomVector()
◆ CompareVectors()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ GetRandom() [5/6]
template<>
int GetRandom |
( |
int |
Low, |
|
|
int |
High |
|
) |
| |
◆ GetRandom() [6/6]
template<>
double GetRandom |
( |
double |
Low, |
|
|
double |
High |
|
) |
| |