42 #ifndef ALAP_VECTOR_SPACE_HPP 43 #define ALAP_VECTOR_SPACE_HPP 45 #include "AbstractLinAlgPack_InnerProduct.hpp" 46 #include "Teuchos_AbstractFactory.hpp" 134 :
public Teuchos::AbstractFactory<VectorMutable>
178 virtual const inner_prod_ptr_t
inner_prod()
const;
197 virtual space_ptr_t
clone()
const = 0;
217 virtual index_type
dim()
const = 0;
287 virtual vec_mut_ptr_t
create_member(
const value_type& alpha)
const;
311 virtual multi_vec_mut_ptr_t
create_members(size_type num_vecs)
const;
355 space_ptr_t
sub_space(
const index_type il,
const index_type iu )
const;
378 virtual space_ptr_t
space(
394 #ifdef DOXYGEN_COMPILE 397 inner_prod_ptr_t inner_prod_;
414 #endif // ALAP_VECTOR_SPACE_HPP virtual index_type dim() const =0
Return the dimmension of the vector space.
virtual space_ptr_t clone() const =0
Create a clone of this vector space object.
virtual vec_mut_ptr_t create_member() const =0
Create a vector member from the vector space.
virtual bool is_compatible(const VectorSpace &vec_spc) const =0
Compare the compatibility of two vector spaces.
virtual space_ptr_t space(const GenPermMatrixSlice &P, BLAS_Cpp::Transp P_trans) const
Create a vector space for vector to gather the elements into.
virtual bool is_in_core() const
Returns true if the vectors are in core.
virtual space_ptr_t sub_space(const Range1D &rng) const
Create a transient sub-space of the current vector space.
Teuchos::RCP< const VectorSpace > space_ptr_t
Abstract interface for objects that represent a space for mutable coordinate vectors.
obj_ptr_t create() const
Just calls this->create_member() by default!
virtual const inner_prod_ptr_t inner_prod() const
Return the smart pointer to the inner product strategy object.
Teuchos::RCP< MultiVectorMutable > multi_vec_mut_ptr_t
Abstract interface for inner products.
Thrown if vector spaces are incompatible.
Teuchos::RCP< const InnerProduct > inner_prod_ptr_t
Teuchos::RCP< VectorMutable > vec_mut_ptr_t
virtual multi_vec_mut_ptr_t create_members(size_type num_vecs) const
Create a set of vector members (a MultiVectorMutable) from the vector space.
VectorSpace(const inner_prod_ptr_t &inner_prod=Teuchos::null)
Calls inner_prod()
Teuchos::RCP< const VectorSpaceFactory > space_fcty_ptr_t
virtual space_fcty_ptr_t small_vec_spc_fcty() const
Return a VectorSpaceFactory object for the creation of vector spaces with a small dimension...
Concrete matrix type to represent general permutation (mapping) matrices.