26 #ifndef _BLAZE_MATH_DENSE_INITIALIZERITERATOR_H_ 27 #define _BLAZE_MATH_DENSE_INITIALIZERITERATOR_H_ 55 template<
typename Type >
109 inline
ReferenceType operator[](
size_t index ) const noexcept;
118 inline
size_t index() const noexcept;
142 template< typename Type >
157 template<
typename Type >
171 template<
typename Type >
193 template<
typename Type >
208 template<
typename Type >
230 template<
typename Type >
244 template<
typename Type >
257 template<
typename Type >
271 template<
typename Type >
293 template<
typename Type >
310 template<
typename Type >
327 template<
typename Type >
352 template<
typename Type >
365 template<
typename Type >
384 template<
typename Type >
387 template<
typename Type >
390 template<
typename Type >
393 template<
typename Type >
396 template<
typename Type >
399 template<
typename Type >
402 template<
typename Type >
405 template<
typename Type >
408 template<
typename Type >
411 template<
typename Type >
424 template<
typename Type >
439 template<
typename Type >
454 template<
typename Type >
457 return lhs.index() < rhs.
index();
469 template<
typename Type >
472 return lhs.index() > rhs.
index();
484 template<
typename Type >
487 return lhs.index() <= rhs.
index();
499 template<
typename Type >
502 return lhs.index() >= rhs.
index();
514 template<
typename Type >
529 template<
typename Type >
544 template<
typename Type >
559 template<
typename Type >
562 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.
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:353
initializer_list< Type > list() const noexcept
Low-level access to the underlying list member of the iterator.
Definition: InitializerIterator.h:366
PointerType pointer
Pointer return type.
Definition: InitializerIterator.h:69
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:701
ReferenceType reference
Reference return type.
Definition: InitializerIterator.h:70
initializer_list< Type > list_
The initializer list to be traversed.
Definition: InitializerIterator.h:126
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:733
ReferenceType operator*() const noexcept
Direct access to the element at the current iterator position.
Definition: InitializerIterator.h:312
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:125
InitializerIterator & operator-=(ptrdiff_t dec) noexcept
Subtraction assignment operator.
Definition: InitializerIterator.h:209
ReferenceType operator[](size_t index) const noexcept
Direct access to the underlying elements.
Definition: InitializerIterator.h:295
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:367
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:443
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value. ...
Definition: Accuracy.h:250
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:290
static const Type zero_
Neutral element for accesses to zero elements.
Definition: InitializerIterator.h:128
InitializerIterator & operator++() noexcept
Pre-increment operator.
Definition: InitializerIterator.h:231
InitializerIterator & operator+=(ptrdiff_t inc) noexcept
Addition assignment operator.
Definition: InitializerIterator.h:194
PointerType operator->() const noexcept
Direct access to the element at the current iterator position.
Definition: InitializerIterator.h:329
InitializerIterator & operator--() noexcept
Pre-decrement operator.
Definition: InitializerIterator.h:258
Initializer list type of the Blaze library.
InitializerIterator() noexcept
Default constructor for the InitializerIterator class.
Definition: InitializerIterator.h:158