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-11
 
scalar_type atol = 1.0e-11
 

Typedef Documentation

Definition at line 22 of file Stokhos_SDMUtilsUnitTest.cpp.

Definition at line 23 of file Stokhos_SDMUtilsUnitTest.cpp.

Definition at line 24 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 25 of file Stokhos_SDMUtilsUnitTest.cpp.

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

Definition at line 26 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 27 of file Stokhos_SDMUtilsUnitTest.cpp.

Function Documentation

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

Definition at line 32 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 48 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 81 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 117 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_CGS_TallSkinny   
)

Definition at line 160 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_CGS_ShortFat   
)

Definition at line 166 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS_TallSkinny   
)

Definition at line 172 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS_ShortFat   
)

Definition at line 178 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS2_TallSkinny   
)

Definition at line 184 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_MGS2_ShortFat   
)

Definition at line 190 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_Householder_TallSkinny   
)

Definition at line 196 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
QR_Householder_ShortFat   
)

Definition at line 202 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder3_TallSkinny   
)

Definition at line 208 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder3_ShortFat   
)

Definition at line 214 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder_threshold_TallSkinny   
)

Definition at line 220 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_Householder_threshold_ShortFat   
)

Definition at line 228 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_threshold_TallSkinny   
)

Definition at line 236 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_threshold_ShortFat   
)

Definition at line 244 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_reorthog_threshold_TallSkinny   
)

Definition at line 252 of file Stokhos_SDMUtilsUnitTest.cpp.

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils  ,
CPQR_MGS_reorthog_threshold_ShortFat   
)

Definition at line 260 of file Stokhos_SDMUtilsUnitTest.cpp.

Variable Documentation

scalar_type SDMUtilsUnitTest::rtol = 1.0e-11

Definition at line 29 of file Stokhos_SDMUtilsUnitTest.cpp.

scalar_type SDMUtilsUnitTest::atol = 1.0e-11

Definition at line 30 of file Stokhos_SDMUtilsUnitTest.cpp.