|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include "Teuchos_SerialDenseMatrix.hpp"#include "Teuchos_SerialBandDenseMatrix.hpp"#include "Teuchos_SerialDenseVector.hpp"#include "Teuchos_SerialDenseHelpers.hpp"#include "Teuchos_SerialBandDenseSolver.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 SerialBandDenseMatrix < OTYPE, STYPE > | BDMatrix |
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 > | GetRandomBandedMatrix (int m, int n, int kl, int ku) |
| Teuchos::RCP< DVector > | GetRandomVector (int n) |
| int | CompareVectors (const SerialDenseVector< OTYPE, STYPE > &Vector1, const SerialDenseVector< OTYPE, STYPE > &Vector2, ScalarTraits< STYPE >::magnitudeType Tolerance) |
| int | CompareMatrices (const SerialDenseMatrix< OTYPE, STYPE > &Matrix1, const SerialDenseMatrix< OTYPE, STYPE > &Matrix2, ScalarTraits< STYPE >::magnitudeType Tolerance) |
| int | main (int argc, char *argv[]) |
| #define OTYPE int |
Definition at line 24 of file cxx_main_band_solver.cpp.
| #define STYPE double |
Definition at line 28 of file cxx_main_band_solver.cpp.
| #define SCALARMAX STYPE(10) |
Definition at line 36 of file cxx_main_band_solver.cpp.
| typedef SerialDenseVector<OTYPE, STYPE> DVector |
Definition at line 44 of file cxx_main_band_solver.cpp.
| typedef SerialDenseMatrix<OTYPE, STYPE> DMatrix |
Definition at line 45 of file cxx_main_band_solver.cpp.
| typedef SerialBandDenseMatrix<OTYPE, STYPE> BDMatrix |
Definition at line 46 of file cxx_main_band_solver.cpp.
| int PrintTestResults | ( | std::string | testName, |
| TYPE | calculatedResult, | ||
| TYPE | expectedResult, | ||
| bool | verbose | ||
| ) |
| int ReturnCodeCheck | ( | std::string | testName, |
| int | returnCode, | ||
| int | expectedResult, | ||
| bool | verbose | ||
| ) |
| TYPE GetRandom | ( | TYPE | Low, |
| TYPE | High | ||
| ) |
| int GetRandom | ( | int | Low, |
| int | High | ||
| ) |
| double GetRandom | ( | double | Low, |
| double | High | ||
| ) |
| std::complex<T> GetRandom | ( | std::complex< T > | Low, |
| std::complex< T > | High | ||
| ) |
| Teuchos::RCP< DMatrix > GetRandomBandedMatrix | ( | int | m, |
| int | n, | ||
| int | kl, | ||
| int | ku | ||
| ) |
Definition at line 417 of file cxx_main_band_solver.cpp.
| Teuchos::RCP< DVector > GetRandomVector | ( | int | n | ) |
Definition at line 430 of file cxx_main_band_solver.cpp.
| int CompareVectors | ( | const SerialDenseVector< OTYPE, STYPE > & | Vector1, |
| const SerialDenseVector< OTYPE, STYPE > & | Vector2, | ||
| ScalarTraits< STYPE >::magnitudeType | Tolerance | ||
| ) |
Definition at line 444 of file cxx_main_band_solver.cpp.
| int CompareMatrices | ( | const SerialDenseMatrix< OTYPE, STYPE > & | Matrix1, |
| const SerialDenseMatrix< OTYPE, STYPE > & | Matrix2, | ||
| ScalarTraits< STYPE >::magnitudeType | Tolerance | ||
| ) |
Definition at line 468 of file cxx_main_band_solver.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 79 of file cxx_main_band_solver.cpp.
1.8.5