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