|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
Base interface for a strategy object for randomizing a multi-vector. More...
#include <Thyra_MultiVectorRandomizerBase.hpp>

Public Member Functions | |
| virtual | ~MultiVectorRandomizerBase () |
| | |
| virtual bool | isCompatible (const VectorSpaceBase< Scalar > &space) const =0 |
Determines if *this is compatible with multi-vectors from the VectorSpace space. | |
| virtual void | randomize (MultiVectorBase< Scalar > *mv)=0 |
| Randomize a "compatible" multi-vector. | |
Base interface for a strategy object for randomizing a multi-vector.
This object is *not* stateless in its use! Every time it generates a new random multi-vector its behavior changes.
A single MultiVectorRandomizerBase object may be compatible with many different types of concrete vector space implementations or may compatible with only a specific instantiation of a concrete vector space subclass.
Definition at line 49 of file Thyra_MultiVectorRandomizerBase.hpp.
| virtual Thyra::MultiVectorRandomizerBase< Scalar >::~MultiVectorRandomizerBase | ( | ) | [inline, virtual] |
Definition at line 53 of file Thyra_MultiVectorRandomizerBase.hpp.
| virtual bool Thyra::MultiVectorRandomizerBase< Scalar >::isCompatible | ( | const VectorSpaceBase< Scalar > & | space | ) | const [pure virtual] |
Determines if *this is compatible with multi-vectors from the VectorSpace space.
Implemented in Thyra::ListedMultiVectorRandomizer< Scalar >, and Thyra::UniversalMultiVectorRandomizer< Scalar >.
| virtual void Thyra::MultiVectorRandomizerBase< Scalar >::randomize | ( | MultiVectorBase< Scalar > * | mv | ) | [pure virtual] |
Randomize a "compatible" multi-vector.
Preconditions:
mv!=NULL this->isCompatible(*mv->range()) == true Implemented in Thyra::ListedMultiVectorRandomizer< Scalar >, and Thyra::UniversalMultiVectorRandomizer< Scalar >.
Referenced by Thyra::SymmetricLinearOpTester< Scalar >::checkSymmetry().
1.7.4