Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
#include "Teuchos_SerialDenseMatrix.hpp"
#include "Teuchos_SerialSymDenseMatrix.hpp"
#include "Teuchos_SerialDenseVector.hpp"
#include "Teuchos_SerialDenseHelpers.hpp"
#include "Teuchos_SerialSpdDenseSolver.hpp"
#include "Teuchos_SerialQRDenseSolver.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_Version.hpp"
Go to the source code of this file.
Macros | |
#define | OTYPE int |
#define | STYPE double |
#define | SCALARMAX STYPE(10) |
Typedefs | |
typedef SerialDenseVector< OTYPE, STYPE > | DVector |
typedef SerialDenseMatrix< OTYPE, STYPE > | DMatrix |
typedef SerialSymDenseMatrix< OTYPE, STYPE > | SDMatrix |
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< SDMatrix > | GetRandomSpdMatrix (int n) |
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[]) |
template<> | |
int | GetRandom (int Low, int High) |
template<> | |
double | GetRandom (double Low, double High) |
#define OTYPE int |
Definition at line 57 of file cxx_main_spd_solver.cpp.
#define STYPE double |
Definition at line 61 of file cxx_main_spd_solver.cpp.
#define SCALARMAX STYPE(10) |
Definition at line 69 of file cxx_main_spd_solver.cpp.
typedef SerialDenseVector<OTYPE, STYPE> DVector |
Definition at line 77 of file cxx_main_spd_solver.cpp.
typedef SerialDenseMatrix<OTYPE, STYPE> DMatrix |
Definition at line 78 of file cxx_main_spd_solver.cpp.
typedef SerialSymDenseMatrix<OTYPE, STYPE> SDMatrix |
Definition at line 79 of file cxx_main_spd_solver.cpp.
int PrintTestResults | ( | std::string | testName, |
TYPE | calculatedResult, | ||
TYPE | expectedResult, | ||
bool | verbose ) |
Definition at line 299 of file cxx_main_spd_solver.cpp.
int ReturnCodeCheck | ( | std::string | testName, |
int | returnCode, | ||
int | expectedResult, | ||
bool | verbose ) |
Definition at line 315 of file cxx_main_spd_solver.cpp.
TYPE GetRandom | ( | TYPE | Low, |
TYPE | High ) |
Definition at line 348 of file cxx_main_spd_solver.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.
std::complex< T > GetRandom | ( | std::complex< T > | Low, |
std::complex< T > | High ) |
Definition at line 354 of file cxx_main_spd_solver.cpp.
Teuchos::RCP< SDMatrix > GetRandomSpdMatrix | ( | int | n | ) |
Definition at line 375 of file cxx_main_spd_solver.cpp.
Teuchos::RCP< DMatrix > GetRandomMatrix | ( | int | m, |
int | n ) |
Definition at line 413 of file cxx_main_spd_solver.cpp.
Teuchos::RCP< DVector > GetRandomVector | ( | int | n | ) |
Definition at line 425 of file cxx_main_spd_solver.cpp.
int CompareVectors | ( | const SerialDenseVector< OTYPE, STYPE > & | Vector1, |
const SerialDenseVector< OTYPE, STYPE > & | Vector2, | ||
ScalarTraits< STYPE >::magnitudeType | Tolerance ) |
Definition at line 439 of file cxx_main_spd_solver.cpp.
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 107 of file cxx_main_spd_solver.cpp.
int GetRandom | ( | int | Low, |
int | High ) |
Definition at line 364 of file cxx_main_spd_solver.cpp.
double GetRandom | ( | double | Low, |
double | High ) |
Definition at line 370 of file cxx_main_spd_solver.cpp.