#include <AnasaziMatOrthoManager.hpp>
Inheritance diagram for Anasazi::MatOrthoManager< ScalarType, MV, OP >:

Public Member Functions | |
Constructor/Destructor | |
| MatOrthoManager (Teuchos::RefCountPtr< const OP > Op=Teuchos::null) | |
| Default constructor. | |
| virtual | ~MatOrthoManager () |
| Destructor. | |
Accessor routines | |
| void | setOp (Teuchos::RefCountPtr< const OP > Op) |
| Set operator. | |
| Teuchos::RefCountPtr< const OP > | getOp () const |
| Get operator. | |
Orthogonalization methods | |
| void | innerProd (const MV &X, const MV &Y, Teuchos::SerialDenseMatrix< int, ScalarType > &Z) const |
| Provides the inner product defining the orthogonality concepts, using the provided operator. | |
| void | innerProd (const MV &X, const MV &Y, Teuchos::RefCountPtr< const MV > MY, Teuchos::SerialDenseMatrix< int, ScalarType > &Z) const |
Provides the inner product defining the orthogonality concepts, using the provided operator. The method has the options of exploiting a caller-provided MX. | |
| void | norm (const MV &X, std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > *normvec) const |
| Provides the norm induced by innerProd(). | |
| void | norm (const MV &X, Teuchos::RefCountPtr< const MV > MX, std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > *normvec) const |
Provides the norm induced by innerProd(). The method has the options of exploiting a caller-provided MX. | |
| virtual void | project (MV &X, Teuchos::RefCountPtr< MV > MX, Teuchos::Array< Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > > C, Teuchos::Array< Teuchos::RefCountPtr< const MV > > Q) const =0 |
Given a list of (mutually and internally) orthonormal bases Q, this method takes a multivector X and projects it onto the space orthogonal to the individual Q[i], optionally returning the coefficients of X for the individual Q[i]. All of this is done with respect to the inner product innerProd(). | |
| virtual void | project (MV &X, Teuchos::Array< Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > > C, Teuchos::Array< Teuchos::RefCountPtr< const MV > > Q) const |
| This method calls project(X,Teuchos::null,C,Q); see documentation for that function. | |
| virtual int | normalize (MV &X, Teuchos::RefCountPtr< MV > MX, Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > B) const =0 |
This method takes a multivector X and attempts to compute an orthonormal basis for , with respect to innerProd(). | |
| virtual int | normalize (MV &X, Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > B) const |
| This method calls normalize(X,Teuchos::null,B); see documentation for that function. | |
| virtual int | projectAndNormalize (MV &X, Teuchos::RefCountPtr< MV > MX, Teuchos::Array< Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > > C, Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > B, Teuchos::Array< Teuchos::RefCountPtr< const MV > > Q) const =0 |
Given a set of bases Q[i] and a multivector X, this method computes an orthonormal basis for . | |
| virtual int | projectAndNormalize (MV &X, Teuchos::Array< Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > > C, Teuchos::RefCountPtr< Teuchos::SerialDenseMatrix< int, ScalarType > > B, Teuchos::Array< Teuchos::RefCountPtr< const MV > > Q) const |
| This method calls projectAndNormalize(X,Teuchos::null,C,B,Q); see documentation for that function. | |
Error methods | |
| virtual Teuchos::ScalarTraits< ScalarType >::magnitudeType | orthonormError (const MV &X) const |
| This method computes the error in orthonormality of a multivector. | |
| virtual Teuchos::ScalarTraits< ScalarType >::magnitudeType | orthonormError (const MV &X, Teuchos::RefCountPtr< const MV > MX) const =0 |
This method computes the error in orthonormality of a multivector. The method has the option of exploiting a caller-provided MX. | |
| virtual Teuchos::ScalarTraits< ScalarType >::magnitudeType | orthogError (const MV &X1, const MV &X2) const |
| This method computes the error in orthogonality of two multivectors. This method. | |
| virtual Teuchos::ScalarTraits< ScalarType >::magnitudeType | orthogError (const MV &X1, Teuchos::RefCountPtr< const MV > MX1, const MV &X2) const =0 |
This method computes the error in orthogonality of two multivectors. The method has the option of exploiting a caller-provided MX. | |
This class extends Anasazi::OrthoManager by providing extra calling arguments to orthogonalization routines, to reduce the cost of applying the inner product in cases where the user already has the image of the source multivector under the inner product matrix.
A concrete implementation of this class is necessary. The user can create their own implementation if those supplied are not suitable for their needs.
Definition at line 61 of file AnasaziMatOrthoManager.hpp.
|
||||||||||
|
Default constructor.
Definition at line 70 of file AnasaziMatOrthoManager.hpp. |
|
|||||||||
|
Destructor.
Definition at line 73 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||
|
Set operator.
Definition at line 80 of file AnasaziMatOrthoManager.hpp. |
|
|||||||||
|
Get operator.
Definition at line 86 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||
|
Provides the inner product defining the orthogonality concepts, using the provided operator. All concepts of orthogonality discussed in this class are with respect to this inner product. Implements Anasazi::OrthoManager< ScalarType, MV >. Definition at line 98 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||||||
|
Provides the inner product defining the orthogonality concepts, using the provided operator. The method has the options of exploiting a caller-provided
If pointer Definition at line 136 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||
|
Provides the norm induced by innerProd().
Implements Anasazi::OrthoManager< ScalarType, MV >. Definition at line 159 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||
|
Provides the norm induced by innerProd(). The method has the options of exploiting a caller-provided
Definition at line 166 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||||||
|
Given a list of (mutually and internally) orthonormal bases
After calling this routine,
Implemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. |
|
||||||||||||||||||||
|
This method calls project(X,Teuchos::null,C,Q); see documentation for that function.
Implements Anasazi::OrthoManager< ScalarType, MV >. Reimplemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. Definition at line 223 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||
|
This method takes a multivector
This routine returns an integer
Implemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. |
|
||||||||||||||||
|
This method calls normalize(X,Teuchos::null,B); see documentation for that function.
Implements Anasazi::OrthoManager< ScalarType, MV >. Reimplemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. Definition at line 256 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||||||||||
|
Given a set of bases
This routine returns an integer
Implemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. |
|
||||||||||||||||||||||||
|
This method calls projectAndNormalize(X,Teuchos::null,C,B,Q); see documentation for that function.
Implements Anasazi::OrthoManager< ScalarType, MV >. Reimplemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. Definition at line 302 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||
|
This method computes the error in orthonormality of a multivector.
Implements Anasazi::OrthoManager< ScalarType, MV >. Reimplemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. Definition at line 317 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||
|
This method computes the error in orthonormality of a multivector. The method has the option of exploiting a caller-provided
Implemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. |
|
||||||||||||||||
|
This method computes the error in orthogonality of two multivectors. This method.
Implements Anasazi::OrthoManager< ScalarType, MV >. Reimplemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. Definition at line 330 of file AnasaziMatOrthoManager.hpp. |
|
||||||||||||||||||||
|
This method computes the error in orthogonality of two multivectors. The method has the option of exploiting a caller-provided
Implemented in Anasazi::BasicOrthoManager< ScalarType, MV, OP >, and Anasazi::SVQBOrthoManager< ScalarType, MV, OP >. |
1.3.9.1