26 #ifndef _BLAZE_MATH_DENSE_INITIALIZERITERATOR_H_ 27 #define _BLAZE_MATH_DENSE_INITIALIZERITERATOR_H_ 55 template<
typename Type >
123 inline
size_t index() const noexcept;
147 template< typename Type >
162 template<
typename Type >
176 template<
typename Type >
198 template<
typename Type >
213 template<
typename Type >
235 template<
typename Type >
249 template<
typename Type >
262 template<
typename Type >
276 template<
typename Type >
298 template<
typename Type >
315 template<
typename Type >
332 template<
typename Type >
357 template<
typename Type >
370 template<
typename Type >
389 template<
typename Type >
392 template<
typename Type >
395 template<
typename Type >
398 template<
typename Type >
401 template<
typename Type >
404 template<
typename Type >
407 template<
typename Type >
410 template<
typename Type >
413 template<
typename Type >
416 template<
typename Type >
429 template<
typename Type >
432 return lhs.index() == rhs.index();
444 template<
typename Type >
447 return lhs.index() != rhs.index();
459 template<
typename Type >
462 return lhs.
index() < rhs.index();
474 template<
typename Type >
477 return lhs.index() > rhs.index();
489 template<
typename Type >
492 return lhs.
index() <= rhs.index();
504 template<
typename Type >
507 return lhs.index() >= rhs.index();
519 template<
typename Type >
534 template<
typename Type >
549 template<
typename Type >
564 template<
typename Type >
567 return lhs.index() - rhs.index();
Pointer difference type of the Blaze library.
IteratorCategory iterator_category
The iterator category.
Definition: InitializerIterator.h:67
Header file for basic type definitions.
constexpr const DenseIterator< Type, AF > operator-(const DenseIterator< Type, AF > &it, ptrdiff_t inc) noexcept
Subtraction between a DenseIterator and an integral value.
Definition: DenseIterator.h:750
Implementation of an iterator for (extended) initializer lists.The InitializerIterator represents a g...
Definition: InitializerIterator.h:56
size_t index() const noexcept
Low-level access to the underlying index member of the iterator.
Definition: InitializerIterator.h:358
initializer_list< Type > list() const noexcept
Low-level access to the underlying list member of the iterator.
Definition: InitializerIterator.h:371
PointerType pointer
Pointer return type.
Definition: InitializerIterator.h:69
ReferenceType reference
Reference return type.
Definition: InitializerIterator.h:70
initializer_list< Type > list_
The initializer list to be traversed.
Definition: InitializerIterator.h:131
ReferenceType operator*() const noexcept
Direct access to the element at the current iterator position.
Definition: InitializerIterator.h:317
Header file for the extended initializer_list functionality.
const Type * PointerType
Pointer return type.
Definition: InitializerIterator.h:62
Type ValueType
Type of the underlying elements.
Definition: InitializerIterator.h:61
const Type & ReferenceType
Reference return type.
Definition: InitializerIterator.h:63
ValueType value_type
Type of the underlying elements.
Definition: InitializerIterator.h:68
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
std::random_access_iterator_tag IteratorCategory
The iterator category.
Definition: InitializerIterator.h:60
size_t index_
Current index of the iterator within the initializer list.
Definition: InitializerIterator.h:130
InitializerIterator & operator-=(ptrdiff_t dec) noexcept
Subtraction assignment operator.
Definition: InitializerIterator.h:214
ReferenceType operator[](size_t index) const noexcept
Direct access to the underlying elements.
Definition: InitializerIterator.h:300
constexpr bool operator>(const NegativeAccuracy< A > &lhs, const T &rhs)
Greater-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:370
constexpr bool operator>=(const NegativeAccuracy< A > &, const T &rhs)
Greater-or-equal-than comparison between a NegativeAccuracy object and a floating point value...
Definition: Accuracy.h:446
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value. ...
Definition: Accuracy.h:253
ptrdiff_t DifferenceType
Difference between two iterators.
Definition: InitializerIterator.h:64
constexpr bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:293
static const Type zero_
Neutral element for accesses to zero elements.
Definition: InitializerIterator.h:133
InitializerIterator & operator++() noexcept
Pre-increment operator.
Definition: InitializerIterator.h:236
InitializerIterator & operator+=(ptrdiff_t inc) noexcept
Addition assignment operator.
Definition: InitializerIterator.h:199
PointerType operator->() const noexcept
Direct access to the element at the current iterator position.
Definition: InitializerIterator.h:334
constexpr const DenseIterator< Type, AF > operator+(const DenseIterator< Type, AF > &it, ptrdiff_t inc) noexcept
Addition between a DenseIterator and an integral value.
Definition: DenseIterator.h:718
InitializerIterator & operator--() noexcept
Pre-decrement operator.
Definition: InitializerIterator.h:263
Initializer list type of the Blaze library.
InitializerIterator() noexcept
Default constructor for the InitializerIterator class.
Definition: InitializerIterator.h:163