42 #ifndef THYRA_UNIVERSAL_MULTI_VECTOR_RANDOMIZER_HPP 43 #define THYRA_UNIVERSAL_MULTI_VECTOR_RANDOMIZER_HPP 46 #include "Thyra_MultiVectorRandomizerBase.hpp" 47 #include "Thyra_MultiVectorStdOps.hpp" 61 template<
class Scalar>
90 template<
class Scalar>
91 RCP<UniversalMultiVectorRandomizer<Scalar> >
102 template<
class Scalar>
112 template<
class Scalar>
117 typedef Teuchos::ScalarTraits<Scalar> ST;
118 Thyra::randomize(as<Scalar>(-ST::one()), as<Scalar>(+ST::one()), mv);
125 #endif // THYRA_UNIVERSAL_MULTI_VECTOR_RANDOMIZER_HPP Univeral MultiVectorRandomizerBase subclass that is compatible with all MultiVectorBase objects...
bool isCompatible(const VectorSpaceBase< Scalar > &space) const
Abstract interface for objects that represent a space for vectors.
RCP< UniversalMultiVectorRandomizer< Scalar > > universalMultiVectorRandomizer()
Nonmember constructor.
Interface for a collection of column vectors called a multi-vector.
Base interface for a strategy object for randomizing a multi-vector.