Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
SDMUtilsUnitTest Namespace Reference

Typedefs

typedef int ordinal_type
 
typedef double scalar_type
 
typedef
Teuchos::SerialDenseMatrix
< ordinal_type, scalar_type
SDM
 
typedef void(* qr_func_type )(ordinal_type, const SDM &, const Teuchos::Array< scalar_type > &, SDM &, SDM &)
 
typedef void(* cpqr_func_type )(const SDM &, SDM &, SDM &, Teuchos::Array< ordinal_type > &)
 
typedef ordinal_type(* wcpqr_func_type )(const scalar_type &, const SDM &, const Teuchos::Array< scalar_type > &, SDM &, SDM &, Teuchos::Array< ordinal_type > &)
 

Functions

void generateRandomMatrix (SDM &A, ordinal_type rank)
 
bool test_QR (qr_func_type qr_func, ordinal_type m, ordinal_type n, scalar_type rtol, scalar_type atol, Teuchos::FancyOStream &out)
 
bool test_CPQR (cpqr_func_type qr_func, ordinal_type m, ordinal_type n, scalar_type rtol, scalar_type atol, Teuchos::FancyOStream &out)
 
bool test_weighted_CPQR (wcpqr_func_type qr_func, ordinal_type m, ordinal_type n, ordinal_type k, scalar_type rtol, scalar_type atol, Teuchos::FancyOStream &out)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_CGS_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_CGS_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS2_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS2_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_Householder_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_Householder_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder3_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder3_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder_threshold_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder_threshold_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_threshold_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_threshold_ShortFat)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_reorthog_threshold_TallSkinny)
 
 TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_reorthog_threshold_ShortFat)
 

Variables

scalar_type rtol = 1.0e-12
 
scalar_type atol = 1.0e-12
 

Typedef Documentation

Definition at line 56 of file Stokhos_SDMUtilsUnitTest.cpp.

Definition at line 57 of file Stokhos_SDMUtilsUnitTest.cpp.

Definition at line 58 of file Stokhos_SDMUtilsUnitTest.cpp.

typedef void(* SDMUtilsUnitTest::qr_func_type)(ordinal_type, const SDM &, const Teuchos::Array< scalar_type > &, SDM &, SDM &)

Definition at line 59 of file Stokhos_SDMUtilsUnitTest.cpp.

typedef void(* SDMUtilsUnitTest::cpqr_func_type)(const SDM &, SDM &, SDM &, Teuchos::Array< ordinal_type > &)

Definition at line 60 of file Stokhos_SDMUtilsUnitTest.cpp.

typedef ordinal_type(* SDMUtilsUnitTest::wcpqr_func_type)(const scalar_type &, const SDM &, const Teuchos::Array< scalar_type > &, SDM &, SDM &, Teuchos::Array< ordinal_type > &)

Definition at line 61 of file Stokhos_SDMUtilsUnitTest.cpp.

Function Documentation

void SDMUtilsUnitTest::generateRandomMatrix ( SDM A,
ordinal_type  rank 
)

Definition at line 66 of file Stokhos_SDMUtilsUnitTest.cpp.

bool SDMUtilsUnitTest::test_QR ( qr_func_type  qr_func,
ordinal_type  m,
ordinal_type  n,
scalar_type  rtol,
scalar_type  atol,
Teuchos::FancyOStream out 
)

Definition at line 82 of file Stokhos_SDMUtilsUnitTest.cpp.

bool SDMUtilsUnitTest::test_CPQR ( cpqr_func_type  qr_func,
ordinal_type  m,
ordinal_type  n,
scalar_type  rtol,
scalar_type  atol,
Teuchos::FancyOStream out 
)

Definition at line 115 of file Stokhos_SDMUtilsUnitTest.cpp.

bool SDMUtilsUnitTest::test_weighted_CPQR ( wcpqr_func_type  qr_func,
ordinal_type  m,
ordinal_type  n,
ordinal_type  k,
scalar_type  rtol,
scalar_type  atol,
Teuchos::FancyOStream out 
)

Definition at line 151 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_CGS_TallSkinny   
)

Definition at line 194 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_CGS_ShortFat   
)

Definition at line 200 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS_TallSkinny   
)

Definition at line 206 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS_ShortFat   
)

Definition at line 212 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS2_TallSkinny   
)

Definition at line 218 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS2_ShortFat   
)

Definition at line 224 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_Householder_TallSkinny   
)

Definition at line 230 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_Householder_ShortFat   
)

Definition at line 236 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder3_TallSkinny   
)

Definition at line 242 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder3_ShortFat   
)

Definition at line 248 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder_threshold_TallSkinny   
)

Definition at line 254 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder_threshold_ShortFat   
)

Definition at line 262 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_threshold_TallSkinny   
)

Definition at line 270 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_threshold_ShortFat   
)

Definition at line 278 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_reorthog_threshold_TallSkinny   
)

Definition at line 286 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_reorthog_threshold_ShortFat   
)

Definition at line 294 of file Stokhos_SDMUtilsUnitTest.cpp.

Variable Documentation

scalar_type SDMUtilsUnitTest::rtol = 1.0e-12

Definition at line 63 of file Stokhos_SDMUtilsUnitTest.cpp.

scalar_type SDMUtilsUnitTest::atol = 1.0e-12

Definition at line 64 of file Stokhos_SDMUtilsUnitTest.cpp.