Reference documentation for deal.II version 9.2.0
|
#include <deal.II/base/vectorization.h>
Public Member Functions | |
VectorizedArrayIterator (T &data, const std::size_t lane) | |
bool | operator== (const VectorizedArrayIterator< T > &other) const |
bool | operator!= (const VectorizedArrayIterator< T > &other) const |
VectorizedArrayIterator< T > & | operator= (const VectorizedArrayIterator< T > &other)=default |
const T::value_type & | operator* () const |
template<typename U = T> | |
std::enable_if<!std::is_same< U, const U >::value, typename T::value_type >::type & | operator* () |
VectorizedArrayIterator< T > & | operator++ () |
VectorizedArrayIterator< T > & | operator+= (const std::size_t offset) |
VectorizedArrayIterator< T > & | operator-- () |
VectorizedArrayIterator< T > | operator+ (const std::size_t &offset) const |
std::ptrdiff_t | operator- (const VectorizedArrayIterator< T > &other) const |
Private Attributes | |
T * | data |
std::size_t | lane |
An iterator for VectorizedArray.
Definition at line 99 of file vectorization.h.
|
inline |
Constructor.
data | The actual VectorizedArray. |
lane | A pointer to the current lane. |
Definition at line 108 of file vectorization.h.
|
inline |
Compare for equality.
Definition at line 117 of file vectorization.h.
|
inline |
Compare for inequality.
Definition at line 129 of file vectorization.h.
|
default |
Copy assignment.
|
inline |
Dereferencing operator (const version): returns the value of the current lane.
Definition at line 147 of file vectorization.h.
|
inline |
Dereferencing operator (non-const
version): returns the value of the current lane.
Definition at line 161 of file vectorization.h.
|
inline |
Prefix ++
operator: ++iterator
. This operator advances the iterator to the next lane and returns a reference to *this
.
Definition at line 173 of file vectorization.h.
|
inline |
This operator advances the iterator by offet
lanes and returns a reference to *this
.
Definition at line 185 of file vectorization.h.
|
inline |
Prefix –
operator: –iterator
. This operator advances the iterator to the previous lane and returns a reference to *this
.
Definition at line 198 of file vectorization.h.
|
inline |
Create new iterator, which is shifted by offset
.
Definition at line 212 of file vectorization.h.
|
inline |
Compute distance between this iterator and iterator other
.
Definition at line 222 of file vectorization.h.
|
private |
Pointer to the actual VectorizedArray.
Definition at line 232 of file vectorization.h.
|
private |
Pointer to the current lane.
Definition at line 237 of file vectorization.h.