35 #ifndef _BLAZE_MATH_SPARSE_VALUEINDEXPAIR_H_ 36 #define _BLAZE_MATH_SPARSE_VALUEINDEXPAIR_H_ 72 template<
typename Type >
100 template<
typename Other >
102 operator=(
const Other& rhs );
104 template<
typename Other >
107 operator=( Other&& rhs );
109 template<
typename Other >
111 operator=(
const Other& v );
113 template<
typename Other >
116 operator=( Other&& v );
118 template<
typename Other >
inline ValueIndexPair& operator+=(
const Other& v );
119 template<
typename Other >
inline ValueIndexPair& operator-=(
const Other& v );
120 template<
typename Other >
inline ValueIndexPair& operator*=(
const Other& v );
121 template<
typename Other >
inline ValueIndexPair& operator/=(
const Other& v );
128 inline Reference
value();
129 inline ConstReference
value()
const;
130 inline IndexType
index()
const;
173 template<
typename Type >
187 template<
typename Type >
213 template<
typename Type >
214 template<
typename Other >
235 template<
typename Type >
236 template<
typename Other >
241 value_ = std::move( rhs.value() );
254 template<
typename Type >
255 template<
typename Other >
271 template<
typename Type >
272 template<
typename Other >
289 template<
typename Type >
290 template<
typename Other >
305 template<
typename Type >
306 template<
typename Other >
321 template<
typename Type >
322 template<
typename Other >
337 template<
typename Type >
338 template<
typename Other >
360 template<
typename Type >
373 template<
typename Type >
386 template<
typename Type >
#define BLAZE_CONSTRAINT_MUST_NOT_BE_CONST(T)
Constraint on the data type.In case the given data type is a const-qualified type, a compilation error is created.
Definition: Const.h:79
size_t IndexType
The index type of the value-index-pair.
Definition: ValueIndexPair.h:78
Header file for basic type definitions.
BLAZE_ALWAYS_INLINE T1 & operator/=(SIMDPack< T1 > &lhs, const SIMDPack< T2 > &rhs)
Division assignment operator for the division of two SIMD packs.
Definition: BasicTypes.h:1339
Header file for the And class template.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_VOLATILE(T)
Constraint on the data type.In case the given data type is a volatile-qualified type, a compilation error is created.
Definition: Volatile.h:79
BLAZE_ALWAYS_INLINE T1 & operator*=(SIMDPack< T1 > &lhs, const SIMDPack< T2 > &rhs)
Multiplication assignment operator for the multiplication of two SIMD packs.
Definition: BasicTypes.h:1321
const Type & ConstReference
Reference-to-const return type.
Definition: ValueIndexPair.h:80
Constraint on the data type.
Type ValueType
The value type of the value-index-pair.
Definition: ValueIndexPair.h:77
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_CONSTRAINT_MUST_NOT_BE_POINTER_TYPE(T)
Constraint on the data type.In case the given data type T is not a pointer type, a compilation error ...
Definition: Pointer.h:79
Type & Reference
Reference return type.
Definition: ValueIndexPair.h:79
Header file for the Not class template.
Constraint on the data type.
Header file for the SparseElement base class.
size_t index_
Index of the value-index-pair.
Definition: ValueIndexPair.h:139
Header file for the EnableIf class template.
BLAZE_ALWAYS_INLINE T1 & operator+=(SIMDPack< T1 > &lhs, const SIMDPack< T2 > &rhs)
Addition assignment operator for the addition of two SIMD packs.
Definition: BasicTypes.h:1285
Header file for the IsRValueReference type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_REFERENCE_TYPE(T)
Constraint on the data type.In case the given data type T is not a reference type, a compilation error is created.
Definition: Reference.h:79
Constraint on the data type.
Base class for all sparse element types.The SparseElement class is the base class for all sparse elem...
Definition: SparseElement.h:57
Header file for the RemoveReference type trait.
typename EnableIf< Condition, T >::Type EnableIf_
Auxiliary alias declaration for the EnableIf class template.The EnableIf_ alias declaration provides ...
Definition: EnableIf.h:223
Header file for the IsSparseElement type trait class.
IndexType index() const
Access to the current index of the value-index-pair.
Definition: ValueIndexPair.h:387
Index-value-pair for sparse vectors and matrices.The ValueIndexPair class represents a single index-v...
Definition: ValueIndexPair.h:73
Type value_
Value of the value-index-pair.
Definition: ValueIndexPair.h:138
Compile time type check.This class tests whether the given template parameter T is an rvalue referenc...
Definition: IsRValueReference.h:77
ValueIndexPair()
Default constructor for value-index-pairs.
Definition: ValueIndexPair.h:174
BLAZE_ALWAYS_INLINE T1 & operator-=(SIMDPack< T1 > &lhs, const SIMDPack< T2 > &rhs)
Subtraction assignment operator for the subtraction of two SIMD packs.
Definition: BasicTypes.h:1303
Size type of the Blaze library.
Reference value()
Access to the current value of the value-index-pair.
Definition: ValueIndexPair.h:361