46 #ifndef ANASAZI_ORTHOMANAGER_HPP 47 #define ANASAZI_ORTHOMANAGER_HPP 65 #include "Teuchos_ScalarTraits.hpp" 66 #include "Teuchos_RCP.hpp" 67 #include "Teuchos_SerialDenseMatrix.hpp" 68 #include "Teuchos_Array.hpp" 86 template <
class ScalarType,
class MV>
114 virtual void innerProd(
const MV &X,
const MV &Y, Teuchos::SerialDenseMatrix<int,ScalarType>& Z )
const = 0;
129 virtual void norm(
const MV& X, std::vector<
typename Teuchos::ScalarTraits<ScalarType>::magnitudeType > &normvec )
const = 0;
171 virtual void project (
173 Teuchos::Array<Teuchos::RCP<const MV> > Q,
174 Teuchos::Array<Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > > C
175 = Teuchos::tuple(Teuchos::RCP< Teuchos::SerialDenseMatrix<int,ScalarType> >(Teuchos::null))
220 virtual int normalize (
222 Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > B = Teuchos::null)
const = 0;
290 virtual int projectAndNormalize (
292 Teuchos::Array<Teuchos::RCP<const MV> > Q,
293 Teuchos::Array<Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > > C
294 = Teuchos::tuple(Teuchos::RCP< Teuchos::SerialDenseMatrix<int,ScalarType> >(Teuchos::null)),
295 Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > B = Teuchos::null
308 virtual typename Teuchos::ScalarTraits< ScalarType >::magnitudeType orthonormError(
const MV &X)
const = 0;
315 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.