35 #ifndef _BLAZE_MATH_SPARSE_VALUEINDEXPAIR_H_ 36 #define _BLAZE_MATH_SPARSE_VALUEINDEXPAIR_H_ 72 template<
typename Type >
101 template<
typename Other >
103 operator=(
const Other& rhs );
105 template<
typename Other >
108 operator=( Other&& rhs );
110 template<
typename Other >
112 operator=(
const Other& v );
114 template<
typename Other >
117 operator=( 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 );
122 template<
typename Other >
inline ValueIndexPair& operator/=(
const Other& v );
174 template<
typename Type >
188 template<
typename Type >
214 template<
typename Type >
215 template<
typename Other >
236 template<
typename Type >
237 template<
typename Other >
242 value_ = std::move( rhs.value() );
255 template<
typename Type >
256 template<
typename Other >
272 template<
typename Type >
273 template<
typename Other >
290 template<
typename Type >
291 template<
typename Other >
306 template<
typename Type >
307 template<
typename Other >
322 template<
typename Type >
323 template<
typename Other >
338 template<
typename Type >
339 template<
typename Other >
361 template<
typename Type >
374 template<
typename Type >
387 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
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:1411
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:1393
Constraint on the data type.
const Type & ConstReference
Reference-to-const return type.
Definition: ValueIndexPair.h:81
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
Header file for the Not class template.
Type ValueType
The value type of the value-index-pair.
Definition: ValueIndexPair.h:78
Constraint on the data type.
Header file for the SparseElement base class.
size_t index_
Index of the value-index-pair.
Definition: ValueIndexPair.h:140
Header file for the EnableIf class template.
Type & Reference
Reference return type.
Definition: ValueIndexPair.h:80
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:1357
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:224
Header file for the IsSparseElement type trait class.
IndexType index() const
Access to the current index of the value-index-pair.
Definition: ValueIndexPair.h:388
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:139
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:175
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:1375
Size type of the Blaze library.
Reference value()
Access to the current value of the value-index-pair.
Definition: ValueIndexPair.h:362