|
version GIT relicensing-7336-ga5359f9c0a 2026-12-03 09:40:02+00:00
|
This class provides a wrappers for accessing psblas vector elements.
Definition at line 75 of file psblas_vector.h.
Public Member Functions | |
| const VectorReference & | operator= (const value_type &s) const |
| const VectorReference & | operator+= (const value_type &s) const |
| const VectorReference & | operator-= (const value_type &s) const |
| const VectorReference & | operator*= (const value_type &s) const |
| const VectorReference & | operator/= (const value_type &s) const |
| operator value_type () const | |
Private Types | |
| using | size_type = types::global_dof_index |
| using | value_type = double |
Private Member Functions | |
| VectorReference (Vector &vector, const size_type index) | |
Private Attributes | |
| Vector & | vector |
| const size_type | index |
Friends | |
| class | Vector |
Definition at line 78 of file psblas_vector.h.
|
private |
Definition at line 80 of file psblas_vector.h.
|
inlineprivate |
Constructor.
Definition at line 85 of file psblas_vector.h.
|
inline |
Set the referenced element of the vector to s.
Definition at line 95 of file psblas_vector.h.
|
inline |
Add s to the referenced element of the vector.
Definition at line 121 of file psblas_vector.h.
|
inline |
Subtract s to the referenced element of the vector.
Definition at line 144 of file psblas_vector.h.
|
inline |
Multiply s to the referenced element of the vector.
Definition at line 167 of file psblas_vector.h.
|
inline |
Divide s to the referenced element of the vector.
Definition at line 190 of file psblas_vector.h.
|
inline |
Definition at line 209 of file psblas_vector.h.
Typedef for the vector type used
Typedef for the vector type used.
Definition at line 240 of file psblas_vector.h.
|
private |
Definition at line 236 of file psblas_vector.h.
|
private |
Definition at line 238 of file psblas_vector.h.