33 #ifndef ANASAZI_ORTHOMANAGER_HPP 34 #define ANASAZI_ORTHOMANAGER_HPP 52 #include "Teuchos_ScalarTraits.hpp" 53 #include "Teuchos_RCP.hpp" 54 #include "Teuchos_SerialDenseMatrix.hpp" 55 #include "Teuchos_Array.hpp" 73 template <
class ScalarType,
class MV>
101 virtual void innerProd(
const MV &X,
const MV &Y, Teuchos::SerialDenseMatrix<int,ScalarType>& Z )
const = 0;
116 virtual void norm(
const MV& X, std::vector<
typename Teuchos::ScalarTraits<ScalarType>::magnitudeType > &normvec )
const = 0;
158 virtual void project (
160 Teuchos::Array<Teuchos::RCP<const MV> > Q,
161 Teuchos::Array<Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > > C
162 = Teuchos::tuple(Teuchos::RCP< Teuchos::SerialDenseMatrix<int,ScalarType> >(Teuchos::null))
207 virtual int normalize (
209 Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > B = Teuchos::null)
const = 0;
277 virtual int projectAndNormalize (
279 Teuchos::Array<Teuchos::RCP<const MV> > Q,
280 Teuchos::Array<Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > > C
281 = Teuchos::tuple(Teuchos::RCP< Teuchos::SerialDenseMatrix<int,ScalarType> >(Teuchos::null)),
282 Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > B = Teuchos::null
295 virtual typename Teuchos::ScalarTraits< ScalarType >::magnitudeType orthonormError(
const MV &X)
const = 0;
302 virtual typename Teuchos::ScalarTraits<ScalarType>::magnitudeType orthogError(
const MV &X1,
const MV &X2)
const = 0;
An exception class parent to all Anasazi exceptions.
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package...
Anasazi header file which uses auto-configuration information to include necessary C++ headers...
Exception thrown to signal error in an orthogonalization manager method.
Types and exceptions used within Anasazi solvers and interfaces.
Anasazi's templated virtual class for providing routines for orthogonalization and orthonormalization...
virtual ~OrthoManager()
Destructor.