Go to the source code of this file.
|
template<typename TYPE > |
TYPE | GetRandom (TYPE, TYPE) |
|
template<> |
int | GetRandom (int, int) |
|
template<> |
double | GetRandom (double, double) |
|
template<typename TYPE > |
void | PrintVector (TYPE *Vector, OType Size, std::string Name, bool Matlab=0) |
|
template<typename TYPE > |
void | PrintMatrix (TYPE *Matrix, OType Rows, OType Columns, OType LDM, std::string Name, bool Matlab=0) |
|
template<typename TYPE1 , typename TYPE2 > |
bool | CompareScalars (TYPE1 Scalar1, TYPE2 Scalar2, typename ScalarTraits< TYPE2 >::magnitudeType Tolerance) |
|
template<typename TYPE1 , typename TYPE2 > |
bool | CompareVectors (TYPE1 *Vector1, TYPE2 *Vector2, OType Size, typename ScalarTraits< TYPE2 >::magnitudeType Tolerance) |
|
template<typename TYPE1 , typename TYPE2 > |
bool | CompareMatrices (TYPE1 *Matrix1, TYPE2 *Matrix2, OType Rows, OType Columns, OType LDM, typename ScalarTraits< TYPE2 >::magnitudeType Tolerance) |
|
template<typename TYPE1 , typename TYPE2 > |
TYPE2 | ConvertType (TYPE1, TYPE2) |
|
Teuchos::ESide | RandomSIDE () |
|
Teuchos::EUplo | RandomUPLO () |
|
Teuchos::ETransp | RandomTRANS () |
|
Teuchos::EDiag | RandomDIAG () |
|
int | main (int argc, char *argv[]) |
|
template<> |
int | GetRandom (int Low, int High) |
|
template<> |
double | GetRandom (double Low, double High) |
|
◆ SType1
◆ SType2
◆ OType
◆ MVMIN
◆ MVMAX
◆ SCALARMAX
◆ ROTGTESTS
◆ ROTTESTS
◆ ASUMTESTS
◆ AXPYTESTS
◆ COPYTESTS
◆ DOTTESTS
◆ IAMAXTESTS
◆ NRM2TESTS
◆ SCALTESTS
◆ GEMVTESTS
◆ GERTESTS
◆ TRMVTESTS
◆ GEMMTESTS
◆ SYMMTESTS
◆ SYRKTESTS
◆ TRMMTESTS
◆ TRSMTESTS
◆ GetRandom() [1/5]
template<typename TYPE >
TYPE GetRandom |
( |
TYPE |
Low, |
|
|
TYPE |
High |
|
) |
| |
◆ GetRandom() [2/5]
template<>
int GetRandom |
( |
int |
Low, |
|
|
int |
High |
|
) |
| |
◆ GetRandom() [3/5]
template<>
double GetRandom |
( |
double |
Low, |
|
|
double |
High |
|
) |
| |
◆ PrintVector()
template<typename TYPE >
void PrintVector |
( |
TYPE * |
Vector, |
|
|
OType |
Size, |
|
|
std::string |
Name, |
|
|
bool |
Matlab = 0 |
|
) |
| |
◆ PrintMatrix()
template<typename TYPE >
void PrintMatrix |
( |
TYPE * |
Matrix, |
|
|
OType |
Rows, |
|
|
OType |
Columns, |
|
|
OType |
LDM, |
|
|
std::string |
Name, |
|
|
bool |
Matlab = 0 |
|
) |
| |
◆ CompareScalars()
template<typename TYPE1 , typename TYPE2 >
bool CompareScalars |
( |
TYPE1 |
Scalar1, |
|
|
TYPE2 |
Scalar2, |
|
|
typename ScalarTraits< TYPE2 >::magnitudeType |
Tolerance |
|
) |
| |
◆ CompareVectors()
template<typename TYPE1 , typename TYPE2 >
bool CompareVectors |
( |
TYPE1 * |
Vector1, |
|
|
TYPE2 * |
Vector2, |
|
|
OType |
Size, |
|
|
typename ScalarTraits< TYPE2 >::magnitudeType |
Tolerance |
|
) |
| |
◆ CompareMatrices()
template<typename TYPE1 , typename TYPE2 >
bool CompareMatrices |
( |
TYPE1 * |
Matrix1, |
|
|
TYPE2 * |
Matrix2, |
|
|
OType |
Rows, |
|
|
OType |
Columns, |
|
|
OType |
LDM, |
|
|
typename ScalarTraits< TYPE2 >::magnitudeType |
Tolerance |
|
) |
| |
◆ ConvertType()
template<typename TYPE1 , typename TYPE2 >
TYPE2 ConvertType |
( |
TYPE1 |
T1, |
|
|
TYPE2 |
T2 |
|
) |
| |
◆ RandomSIDE()
◆ RandomUPLO()
◆ RandomTRANS()
◆ RandomDIAG()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ GetRandom() [4/5]
template<>
int GetRandom |
( |
int |
Low, |
|
|
int |
High |
|
) |
| |
◆ GetRandom() [5/5]
template<>
double GetRandom |
( |
double |
Low, |
|
|
double |
High |
|
) |
| |