Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Static Public Member Functions
TSQR::Test::FullTsqrVerifier< Scalar > Class Template Reference

Test (correctness and) accuracy of Tsqr for one Scalar type. More...

#include <Tsqr_FullTsqrTest.hpp>

List of all members.

Static Public Member Functions

static void run (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< node_type > &node, const Teuchos::RCP< Teuchos::ParameterList > &testParams, std::vector< int > &randomSeed)
 Run the test for the Scalar type.

Detailed Description

template<class Scalar>
class TSQR::Test::FullTsqrVerifier< Scalar >

Test (correctness and) accuracy of Tsqr for one Scalar type.

Mark Hoemmen

This class is meant to be used only by FullTsqrVerifierCaller. It performs one accuracy test of Tsqr for the given Scalar type (that is, the type of the matrix entries). An accuracy test is also a correctness test. This test computes accuracy bounds for both orthogonality and forward errors, and if those bounds are exceeded and the failIfInaccurate option is enabled, the test will throw a TsqrInaccurate exception.

The test takes a Teuchos::ParameterList input. For a ParameterList with all parameters, their default values, and documentation, see the relevant class method in FullTsqrVerifierCaller.

This class currently only tests the version of Tsqr that is the composition of NodeTsqrType=SequentialTsqr and DistTsqrType=DistTsqr. This should suffice to test correctness, as long as the other NodeTsqrType possibilities (such as TbbTsqr) are tested separately.

Definition at line 105 of file Tsqr_FullTsqrTest.hpp.

Member Function Documentation

template<class Scalar >
static void TSQR::Test::FullTsqrVerifier< Scalar >::run ( const Teuchos::RCP< const Teuchos::Comm< int > > &  comm,
const Teuchos::RCP< node_type > &  node,
const Teuchos::RCP< Teuchos::ParameterList > &  testParams,
std::vector< int > &  randomSeed 
) [inline, static]

Run the test for the Scalar type.

comm[in] Communicator over which to run the test.
node[in] Kokkos Node instance.
testParams[in/out] Parameters for the test. May be modified by each test in turn.
randomSeed[in/out] On input: the random seed for LAPACK's pseudorandom number generator. On output: the updated random seed.

Definition at line 163 of file Tsqr_FullTsqrTest.hpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends