42 #ifndef VECTOR_WITH_OP_MUTABLE_DENSE_H
43 #define VECTOR_WITH_OP_MUTABLE_DENSE_H
52 namespace AbstractLinAlgPack {
155 ,
const size_t num_vecs,
const Vector* vecs[]
157 ,RTOpPack::ReductTarget *reduct_obj
248 #endif // VECTOR_WITH_OP_MUTABLE_DENSE_H
DVector "Adaptor" subclass for DenseLinAlgPack::DVectorSlice or DenseLinAlgPack::DVector objects...
const release_resource_ptr_t & vec_release() const
Return a RCP<> pointer to the object that will release the associated resource.
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
RTOp_index_type index_type
const VectorSpace & space() const
VectorMutableDense * operator&()
Hack.
RTOp_value_type value_type
vec_mut_ptr_t sub_view(const Range1D &rng)
const DVectorSlice get_vec() const
Return a const dense vector.
void commit_sub_vector(RTOpPack::MutableSubVector *sub_vec)
void apply_op(const RTOpPack::RTOp &op, const size_t num_vecs, const Vector *vecs[], const size_t num_targ_vecs, VectorMutable *targ_vecs[], RTOpPack::ReductTarget *reduct_obj, const index_type first_ele, const index_type sub_dim, const index_type global_offset) const
VectorMutableDense(const size_type dim=0)
Calls this->initialize(dim).
. One-based subregion index range class.
VectorMutable & operator=(value_type alpha)
virtual void has_changed() const
Must be called by any vector subclass that modifies this vector object!
RTOpT< RTOp_value_type > RTOp
RTOp_index_type size_type
Abstract interface for objects that represent a space for mutable coordinate vectors.
Abstract interface for releasing an object when it is not needed anymore {abstract}.
void set_sub_vector(const RTOpPack::SparseSubVector &sub_vec)
void initialize(const size_type dim)
Call this->initialize(v,v_release) with an allocated DenseLinAlgPack::DVector object.
release_resource_ptr_t v_release_
Teuchos::RCP< MemMngPack::ReleaseResource > release_resource_ptr_t
This is a base class that is meant to be inherited by Vector subclasses that wish to call TSFCore::ap...
void set_ele(index_type i, value_type val)
Abstract interface for mutable coordinate vectors {abstract}.
void Vp_StMtV(value_type alpha, const GenPermMatrixSlice &P, BLAS_Cpp::Transp P_trans, const Vector &x, value_type beta)
SparseSubVectorT< RTOp_value_type > SparseSubVector
DVectorSlice set_vec()
Return the non-const dense vector.
Class for a mutable sub-vector.
Subclass for serial vector space objects that create VectorMutableDense vector and MultiVectorMutable...
void get_sub_vector(const Range1D &rng, RTOpPack::SubVector *sub_vec) const
Class for a non-mutable sub-vector.
void free_sub_vector(RTOpPack::SubVector *sub_vec) const
value_type get_ele(index_type i) const
Concrete matrix type to represent general permutation (mapping) matrices.