Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
SDMUtilsUnitTest Namespace Reference

Typedefs

typedef int ordinal_type
 
typedef double scalar_type
 
typedef Teuchos::SerialDenseMatrix< ordinal_type, scalar_typeSDM
 
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

◆ ordinal_type

Definition at line 56 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ scalar_type

Definition at line 57 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ SDM

typedef Teuchos::SerialDenseMatrix<ordinal_type,scalar_type> SDMUtilsUnitTest::SDM

Definition at line 58 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ qr_func_type

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.

◆ cpqr_func_type

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

Definition at line 60 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ wcpqr_func_type

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

◆ generateRandomMatrix()

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

Definition at line 66 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ test_QR()

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.

◆ test_CPQR()

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.

◆ test_weighted_CPQR()

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.

◆ TEUCHOS_UNIT_TEST() [1/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_CGS_TallSkinny  )

Definition at line 194 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [2/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_CGS_ShortFat  )

Definition at line 200 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [3/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_MGS_TallSkinny  )

Definition at line 206 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [4/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_MGS_ShortFat  )

Definition at line 212 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [5/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_MGS2_TallSkinny  )

Definition at line 218 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [6/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_MGS2_ShortFat  )

Definition at line 224 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [7/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_Householder_TallSkinny  )

Definition at line 230 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [8/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
QR_Householder_ShortFat  )

Definition at line 236 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [9/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_Householder3_TallSkinny  )

Definition at line 242 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [10/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_Householder3_ShortFat  )

Definition at line 248 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [11/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_Householder_threshold_TallSkinny  )

Definition at line 254 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [12/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_Householder_threshold_ShortFat  )

Definition at line 262 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [13/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_MGS_threshold_TallSkinny  )

Definition at line 270 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [14/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_MGS_threshold_ShortFat  )

Definition at line 278 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [15/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_MGS_reorthog_threshold_TallSkinny  )

Definition at line 286 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [16/16]

SDMUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_SDMUtils ,
CPQR_MGS_reorthog_threshold_ShortFat  )

Definition at line 294 of file Stokhos_SDMUtilsUnitTest.cpp.

Variable Documentation

◆ rtol

scalar_type SDMUtilsUnitTest::rtol = 1.0e-12

Definition at line 63 of file Stokhos_SDMUtilsUnitTest.cpp.

◆ atol

scalar_type SDMUtilsUnitTest::atol = 1.0e-12

Definition at line 64 of file Stokhos_SDMUtilsUnitTest.cpp.