|
Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
#include "Teuchos_BLAS.hpp"#include "Teuchos_Time.hpp"#include "Teuchos_Version.hpp"#include "Teuchos_GlobalMPISession.hpp"
Go to the source code of this file.
Macros | |
| #define | SType1 float |
| #define | SType2 double |
| #define | OType long int |
| #define | MVMIN 2 |
| #define | MVMAX 20 |
| #define | SCALARMAX 10 |
| #define | ROTGTESTS 5 |
| #define | ROTTESTS 5 |
| #define | ASUMTESTS 5 |
| #define | AXPYTESTS 5 |
| #define | COPYTESTS 5 |
| #define | DOTTESTS 5 |
| #define | IAMAXTESTS 5 |
| #define | NRM2TESTS 5 |
| #define | SCALTESTS 5 |
| #define | GEMVTESTS 5 |
| #define | GERTESTS 5 |
| #define | TRMVTESTS 5 |
| #define | GEMMTESTS 5 |
| #define | SYMMTESTS 5 |
| #define | SYRKTESTS 5 |
| #define | TRMMTESTS 5 |
| #define | TRSMTESTS 5 |
Functions | |
| 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) |
| #define SType1 float |
Definition at line 69 of file cxx_tmpl_main.cpp.
| #define SType2 double |
Definition at line 76 of file cxx_tmpl_main.cpp.
| #define OType long int |
Definition at line 80 of file cxx_tmpl_main.cpp.
| #define MVMIN 2 |
Definition at line 83 of file cxx_tmpl_main.cpp.
| #define MVMAX 20 |
Definition at line 84 of file cxx_tmpl_main.cpp.
| #define SCALARMAX 10 |
Definition at line 90 of file cxx_tmpl_main.cpp.
| #define ROTGTESTS 5 |
Definition at line 92 of file cxx_tmpl_main.cpp.
| #define ROTTESTS 5 |
Definition at line 93 of file cxx_tmpl_main.cpp.
| #define ASUMTESTS 5 |
Definition at line 94 of file cxx_tmpl_main.cpp.
| #define AXPYTESTS 5 |
Definition at line 95 of file cxx_tmpl_main.cpp.
| #define COPYTESTS 5 |
Definition at line 96 of file cxx_tmpl_main.cpp.
| #define DOTTESTS 5 |
Definition at line 97 of file cxx_tmpl_main.cpp.
| #define IAMAXTESTS 5 |
Definition at line 98 of file cxx_tmpl_main.cpp.
| #define NRM2TESTS 5 |
Definition at line 99 of file cxx_tmpl_main.cpp.
| #define SCALTESTS 5 |
Definition at line 100 of file cxx_tmpl_main.cpp.
| #define GEMVTESTS 5 |
Definition at line 101 of file cxx_tmpl_main.cpp.
| #define GERTESTS 5 |
Definition at line 102 of file cxx_tmpl_main.cpp.
| #define TRMVTESTS 5 |
Definition at line 103 of file cxx_tmpl_main.cpp.
| #define GEMMTESTS 5 |
Definition at line 104 of file cxx_tmpl_main.cpp.
| #define SYMMTESTS 5 |
Definition at line 105 of file cxx_tmpl_main.cpp.
| #define SYRKTESTS 5 |
Definition at line 106 of file cxx_tmpl_main.cpp.
| #define TRMMTESTS 5 |
Definition at line 107 of file cxx_tmpl_main.cpp.
| #define TRSMTESTS 5 |
Definition at line 108 of file cxx_tmpl_main.cpp.
| TYPE GetRandom | ( | TYPE | Low, |
| TYPE | High ) |
Definition at line 1748 of file cxx_tmpl_main.cpp.
| int GetRandom | ( | int | Low, |
| int | High ) |
Definition at line 1767 of file numerics/test/BLAS/cxx_main.cpp.
| double GetRandom | ( | double | Low, |
| double | High ) |
Definition at line 1773 of file numerics/test/BLAS/cxx_main.cpp.
| void PrintVector | ( | TYPE * | Vector, |
| OType | Size, | ||
| std::string | Name, | ||
| bool | Matlab = 0 ) |
Definition at line 1766 of file cxx_tmpl_main.cpp.
| void PrintMatrix | ( | TYPE * | Matrix, |
| OType | Rows, | ||
| OType | Columns, | ||
| OType | LDM, | ||
| std::string | Name, | ||
| bool | Matlab = 0 ) |
Definition at line 1787 of file cxx_tmpl_main.cpp.
| bool CompareScalars | ( | TYPE1 | Scalar1, |
| TYPE2 | Scalar2, | ||
| typename ScalarTraits< TYPE2 >::magnitudeType | Tolerance ) |
Definition at line 1822 of file cxx_tmpl_main.cpp.
| bool CompareVectors | ( | TYPE1 * | Vector1, |
| TYPE2 * | Vector2, | ||
| OType | Size, | ||
| typename ScalarTraits< TYPE2 >::magnitudeType | Tolerance ) |
Definition at line 1838 of file cxx_tmpl_main.cpp.
| bool CompareMatrices | ( | TYPE1 * | Matrix1, |
| TYPE2 * | Matrix2, | ||
| OType | Rows, | ||
| OType | Columns, | ||
| OType | LDM, | ||
| typename ScalarTraits< TYPE2 >::magnitudeType | Tolerance ) |
Definition at line 1868 of file cxx_tmpl_main.cpp.
| TYPE2 ConvertType | ( | TYPE1 | T1, |
| TYPE2 | T2 ) |
Definition at line 1899 of file cxx_tmpl_main.cpp.
| Teuchos::ESide RandomSIDE | ( | ) |
Definition at line 1904 of file cxx_tmpl_main.cpp.
| Teuchos::EUplo RandomUPLO | ( | ) |
Definition at line 1919 of file cxx_tmpl_main.cpp.
| Teuchos::ETransp RandomTRANS | ( | ) |
Definition at line 1934 of file cxx_tmpl_main.cpp.
| Teuchos::EDiag RandomDIAG | ( | ) |
Definition at line 1953 of file cxx_tmpl_main.cpp.
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 148 of file cxx_tmpl_main.cpp.
| int GetRandom | ( | int | Low, |
| int | High ) |
Definition at line 1754 of file cxx_tmpl_main.cpp.
| double GetRandom | ( | double | Low, |
| double | High ) |
Definition at line 1760 of file cxx_tmpl_main.cpp.