47 #ifndef SLAP_VECTOR_DENSE_ENCAP_H
48 #define SLAP_VECTOR_DENSE_ENCAP_H
54 namespace AbstractLinAlgPack {
193 #endif // SLAP_VECTOR_DENSE_ENCAP_H
RTOpPack::SubVector sub_vec_
const DVectorSlice & operator()() const
Returns a reference to a constant view of the dense vector.
virtual void get_sub_vector(const Range1D &rng, RTOpPack::SubVector *sub_vec) const
Get a non-mutable explicit view of a sub-vector.
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
DVectorSlice & operator()()
Returns a reference to a constant view of the dense vector.
const Scalar * values() const
virtual void commit_sub_vector(RTOpPack::MutableSubVector *sub_vec)
Free a mutable explicit view of a sub-vector.
~VectorDenseMutableEncap()
Calls vec.commit_sub_vector(&sub_vec) to release the view.
VectorDenseEncap & operator=(const VectorDenseEncap &)
VectorDenseMutableEncap & operator=(const VectorDenseMutableEncap &)
~VectorDenseEncap()
Calls vec.free_sub_vector(&sub_vec) to release the view.
Teuchos_Ordinal subDim() const
Extract a constant DenseLinAlgPack::DVectorSlice view of a Vector object.
VectorDenseMutableEncap()
virtual void free_sub_vector(RTOpPack::SubVector *sub_vec) const
Free an explicit view of a sub-vector.
void bind(VectorSliceTmpl< value_type > vs)
Bind to the view of another VectorSliceTmpl.
DenseLinAlgPack::VectorSliceTmpl< value_type > DVectorSlice
virtual void get_sub_vector(const Range1D &rng, RTOpPack::MutableSubVector *sub_vec)
Get a mutable explicit view of a sub-vector.
Abstract interface for mutable coordinate vectors {abstract}.
Extract a non-const DenseLinAlgPack::DVectorSlice view of a VectorMutable object. ...
RTOpPack::MutableSubVector sub_vec_
Class for a mutable sub-vector.
RangePack::Range1D Range1D
Class for a non-mutable sub-vector.