Go to the source code of this file.
Defines |
| #define | OTYPE int |
| #define | STYPE double |
| #define | SCALARMAX STYPE(10) |
Typedefs |
typedef SerialDenseVector
< OTYPE, STYPE > | DVector |
typedef SerialDenseMatrix
< OTYPE, STYPE > | DMatrix |
Functions |
| 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) |
| int | main (int argc, char *argv[]) |
Define Documentation
Typedef Documentation
Function Documentation
template<typename TYPE >
| int PrintTestResults |
( |
std::string |
testName, |
|
|
TYPE |
calculatedResult, |
|
|
TYPE |
expectedResult, |
|
|
bool |
verbose |
|
) |
| |
| int ReturnCodeCheck |
( |
std::string |
testName, |
|
|
int |
returnCode, |
|
|
int |
expectedResult, |
|
|
bool |
verbose |
|
) |
| |
template<typename T >
| std::complex<T> GetRandom |
( |
std::complex< T > |
Low, |
|
|
std::complex< T > |
High |
|
) |
| |
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |