29 #ifndef __Anasazi_StubTsqrAdapter_hpp 30 #define __Anasazi_StubTsqrAdapter_hpp 33 #include <Teuchos_ParameterListAcceptorDefaultBase.hpp> 34 #include <Teuchos_ScalarTraits.hpp> 35 #include <Teuchos_SerialDenseMatrix.hpp> 36 #include <Teuchos_TypeNameTraits.hpp> 70 template<
class MultiVectorType>
73 typedef MultiVectorType MV;
74 typedef double scalar_type;
75 typedef int ordinal_type;
76 typedef int node_type;
77 typedef Teuchos::SerialDenseMatrix<ordinal_type, scalar_type> dense_matrix_type;
78 typedef typename Teuchos::ScalarTraits<scalar_type>::magnitudeType magnitude_type;
88 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"TSQR adapter for " 89 "multivector type \"" << Teuchos::TypeNameTraits<MV>::name()
90 <<
" is not yet implemented.");
96 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"TSQR adapter for " 97 "multivector type \"" << Teuchos::TypeNameTraits<MV>::name()
98 <<
" is not yet implemented.");
105 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"TSQR adapter for " 106 "multivector type \"" << Teuchos::TypeNameTraits<MV>::name()
107 <<
" is not yet implemented.");
111 Teuchos::RCP<const Teuchos::ParameterList>
114 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"TSQR adapter for " 115 "multivector type \"" << Teuchos::TypeNameTraits<MV>::name()
116 <<
" is not yet implemented.");
123 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"TSQR adapter for " 124 "multivector type \"" << Teuchos::TypeNameTraits<MV>::name()
125 <<
" is not yet implemented.");
132 dense_matrix_type& R,
133 const bool forceNonnegativeDiagonal=
false)
135 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"TSQR adapter for " 136 "multivector type \"" << Teuchos::TypeNameTraits<MV>::name()
137 <<
" is not yet implemented.");
143 dense_matrix_type& R,
144 const magnitude_type& tol)
158 #endif // __Anasazi_StubTsqrAdapter_hpp Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Get list of valid default parameters (stub; throws std::logic_error).
int revealRank(MV &Q, dense_matrix_type &R, const magnitude_type &tol)
Rank-revealing decomposition (stub; does nothing).
StubTsqrAdapter(const Teuchos::RCP< Teuchos::ParameterList > &plist)
Constructor (that accepts a parameter list).
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package...
void factorExplicit(MV &A, MV &Q, dense_matrix_type &R, const bool forceNonnegativeDiagonal=false)
Compute QR factorization [Q,R] = qr(A,0) (stub; throws std::logic_error).
Anasazi header file which uses auto-configuration information to include necessary C++ headers...
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &plist)
Set parameters (stub; throws std::logic_error).
StubTsqrAdapter()
Default constructor (stub; throws std::logic_error).
"Stub" TSQR adaptor for unsupported multivector types.
StubTsqrAdapter(const StubTsqrAdapter &rhs)
Copy constructor (throws std::logic_error).