Implementation of a generic iterator for dense vectors and matrices.The DenseIterator represents a generic random-access iterator that can be used for dense vectors and specific rows/columns of dense matrices.
More...
#include <DenseIterator.h>
template<typename Type, bool AF>
class blaze::DenseIterator< Type, AF >
Implementation of a generic iterator for dense vectors and matrices.
The DenseIterator represents a generic random-access iterator that can be used for dense vectors and specific rows/columns of dense matrices.
template<typename Type , bool AF>
Constructor for the DenseIterator class.
- Parameters
-
ptr | Pointer to the initial element. |
template<typename Type , bool AF>
template<typename Other , bool AF2>
Conversion constructor from different DenseIterator instances.
- Parameters
-
template<typename Type , bool AF>
Low-level access to the underlying member of the iterator.
- Returns
- Pointer to the current memory location.
template<typename Type , bool AF>
Load of the SIMD element at the current iterator position.
- Returns
- The loaded SIMD element.
This function performs a load of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
template<typename Type , bool AF>
Aligned load of the SIMD element at the current iterator position.
- Returns
- The loaded SIMD element.
This function performs an aligned load of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
template<typename Type , bool AF>
Unaligned load of the SIMD element at the current iterator position.
- Returns
- The loaded SIMD element.
This function performs an unaligned load of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
template<typename Type , bool AF>
Direct access to the element at the current iterator position.
- Returns
- Reference to the current element.
template<typename Type , bool AF>
Pre-increment operator.
- Returns
- Reference to the incremented iterator.
template<typename Type , bool AF>
Post-increment operator.
- Returns
- The previous position of the iterator.
template<typename Type , bool AF>
Addition assignment operator.
- Parameters
-
inc | The increment of the iterator. |
- Returns
- Reference to the incremented iterator.
template<typename Type , bool AF>
Pre-decrement operator.
- Returns
- Reference to the decremented iterator.
template<typename Type , bool AF>
Post-decrement operator.
- Returns
- The previous position of the iterator.
template<typename Type , bool AF>
Subtraction assignment operator.
- Parameters
-
dec | The decrement of the iterator. |
- Returns
- Reference to the decremented iterator.
template<typename Type , bool AF>
Direct access to the element at the current iterator position.
- Returns
- Pointer to the element at the current iterator position.
template<typename Type , bool AF>
Direct access to the underlying elements.
- Parameters
-
- Returns
- Reference to the accessed value.
template<typename Type , bool AF>
Store of the SIMD element at the current iterator position.
- Parameters
-
value | The SIMD element to be stored. |
- Returns
- void
This function performs a store of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
template<typename Type , bool AF>
Aligned store of the SIMD element at the current iterator position.
- Parameters
-
value | The SIMD element to be stored. |
- Returns
- void
This function performs an aligned store of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
template<typename Type , bool AF>
Unaligned store of the SIMD element at the current iterator position.
- Parameters
-
value | The SIMD element to be stored. |
- Returns
- void
This function performs an unaligned store of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
template<typename Type , bool AF>
Aligned, non-temporal store of the SIMD element at the current iterator position.
- Parameters
-
value | The SIMD element to be stored. |
- Returns
- void
This function performs an aligned, non-temporal store of the SIMD element of the current element. This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors.
The documentation for this class was generated from the following file: