#include <AbstractLinAlgPack_VectorSubView.hpp>
Inheritance diagram for AbstractLinAlgPack::VectorSubView:
Overridden from Vector | |
| const VectorSpace & | space () const |
| | |
| index_type | dim () const |
| | |
| 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. | |
| value_type | get_ele (index_type i) const |
| | |
| vec_ptr_t | sub_view (const Range1D &rng) const |
| | |
| void | get_sub_vector (const Range1D &rng, RTOpPack::SubVector *sub_vec) const |
| | |
| void | free_sub_vector (RTOpPack::SubVector *sub_vec) const |
| | |
Public Member Functions | |
| VectorSubView () | |
| Constructs to uninitialized. | |
| VectorSubView (const vec_ptr_t &full_vec, const Range1D &rng) | |
Calls this->initialize(). | |
| void | initialize (const vec_ptr_t &full_vec, const Range1D &rng) |
| Initialize a sub-view based on a full vector. | |
| void | set_uninitialized () |
| Set uninitialized(). | |
| const vec_ptr_t & | full_vec () const |
| | |
| const VectorSpaceSubSpace & | space_impl () const |
| | |
Not all of the methods from Vector are overridden, only those that need to be or may result in better performance.
There is really not much to this vector subclass. The subclass is only possible because of the first_ele, sub_dim, and global_offset options with apply_op(). The vector space object returned by this->space() is of type VectorSpaceSubSpace which in turn relys on VectorSpace::sub_space().
The default constructor and copy constructors are allowed but the default assignment operator is not allowed.
Definition at line 53 of file AbstractLinAlgPack_VectorSubView.hpp.
|
|
Constructs to uninitialized.
Postconditions: see Definition at line 152 of file AbstractLinAlgPack_VectorSubView.hpp. |
|
||||||||||||
|
Calls
Definition at line 40 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
||||||||||||
|
Initialize a sub-view based on a full vector.
Constructs a view of the vector Preconditions:
Postconditions:
Definition at line 45 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
|
Set uninitialized(). Postconditions:
Reimplemented in AbstractLinAlgPack::VectorMutableSubView. Definition at line 59 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
|
Reimplemented in AbstractLinAlgPack::VectorMutableSubView. Definition at line 157 of file AbstractLinAlgPack_VectorSubView.hpp. |
|
|
Definition at line 163 of file AbstractLinAlgPack_VectorSubView.hpp. |
|
|
Implements AbstractLinAlgPack::Vector. Definition at line 68 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
|
Reimplemented from AbstractLinAlgPack::Vector. Definition at line 73 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
||||||||||||||||||||||||||||||||||||||||
|
Calls Preconditions:
Implements AbstractLinAlgPack::Vector. Definition at line 78 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
|
Reimplemented from AbstractLinAlgPack::Vector. Definition at line 135 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
|
Reimplemented from AbstractLinAlgPack::Vector. Reimplemented in AbstractLinAlgPack::VectorMutableSubView. Definition at line 142 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
||||||||||||
|
Reimplemented from AbstractLinAlgPack::Vector. Definition at line 158 of file AbstractLinAlgPack_VectorSubView.cpp. |
|
|
Reimplemented from AbstractLinAlgPack::Vector. Definition at line 171 of file AbstractLinAlgPack_VectorSubView.cpp. |
1.3.9.1