42 #ifndef ALAP_VECTOR_SUB_VIEW_H
43 #define ALAP_VECTOR_SUB_VIEW_H
45 #include "AbstractLinAlgPack_Vector.hpp"
46 #include "AbstractLinAlgPack_VectorApplyOpSerialBase.hpp"
47 #include "AbstractLinAlgPack_VectorSpaceSubSpace.hpp"
49 namespace AbstractLinAlgPack {
117 index_type
dim()
const;
134 const RTOpPack::RTOp& op
135 ,
const size_t num_vecs,
const Vector* vecs[]
138 ,
const index_type first_ele,
const index_type sub_dim,
const index_type global_offset
141 value_type
get_ele(index_type i)
const;
183 #endif // ALAP_VECTOR_SUB_VIEW_H
const VectorSpaceSubSpace & space_impl() const
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
void get_sub_vector(const Range1D &rng, RTOpPack::SubVector *sub_vec) const
Concrete subclass for a default sub-view implementation for a Vector object.
const vec_ptr_t & full_vec() const
const VectorSpace & space() const
Concrete subclass for a default sub-space of a vector.
value_type get_ele(index_type i) const
void free_sub_vector(RTOpPack::SubVector *sub_vec) const
Abstract interface for objects that represent a space for mutable coordinate vectors.
VectorSubView()
Constructs to uninitialized.
void set_uninitialized()
Set uninitialized()
vec_ptr_t sub_view(const Range1D &rng) const
This is a base class that is meant to be inherited by Vector subclasses that wish to call TSFCore::ap...
Abstract interface for mutable coordinate vectors {abstract}.
void initialize(const vec_ptr_t &full_vec, const Range1D &rng)
Initialize a sub-view based on a full vector.
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
Calls apply_op() on the underlying full vectors.