35 #ifndef _BLAZE_MATH_ADAPTORS_UNIUPPERMATRIX_UNIUPPERELEMENT_H_
36 #define _BLAZE_MATH_ADAPTORS_UNIUPPERMATRIX_UNIUPPERELEMENT_H_
95 template<
typename MT >
123 template<
typename T >
inline UniUpperElement& operator= (
const T& v );
124 template<
typename T >
inline UniUpperElement& operator+=(
const T& v );
125 template<
typename T >
inline UniUpperElement& operator-=(
const T& v );
126 template<
typename T >
inline UniUpperElement& operator*=(
const T& v );
127 template<
typename T >
inline UniUpperElement& operator/=(
const T& v );
141 inline Reference
value() const;
142 inline IndexType
index() const;
185 template< typename MT >
188 , diagonal_( diagonal )
208 template<
typename MT >
209 template<
typename T >
230 template<
typename MT >
231 template<
typename T >
252 template<
typename MT >
253 template<
typename T >
274 template<
typename MT >
275 template<
typename T >
296 template<
typename MT >
297 template<
typename T >
324 template<
typename MT >
345 template<
typename MT >
358 template<
typename MT >
361 return pos_->index();
#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
#define BLAZE_THROW_INVALID_ARGUMENT(MESSAGE)
Macro for the emission of a std::invalid_argument exception.This macro encapsulates the default way o...
Definition: Exception.h:235
Header file for auxiliary alias declarations.
Constraint on the data type.
Header file for basic type definitions.
IteratorType pos_
Iterator to the current upper unitriangular matrix element.
Definition: UniUpperElement.h:148
Pointer operator->() noexcept
Direct access to the uniupper element.
Definition: UniUpperElement.h:325
Constraint on the data type.
#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
const UniUpperValue< MT > ConstReference
Reference-to-const return type.
Definition: UniUpperElement.h:109
Iterator_< MT > IteratorType
Type of the underlying sparse matrix iterators.
Definition: UniUpperElement.h:101
Constraint on the data type.
bool diagonal_
true in case the element is on the diagonal, false if not.
Definition: UniUpperElement.h:149
UniUpperValue< MT > Reference
Reference return type.
Definition: UniUpperElement.h:108
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
ElementType_< MT > ElementType
Type of the represented matrix element.
Definition: UniUpperElement.h:100
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
typename T::ElementType ElementType_
Alias declaration for nested ElementType type definitions.The ElementType_ alias declaration provides...
Definition: Aliases.h:163
Constraint on the data type.
size_t IndexType
The index type of the value-index-pair.
Definition: UniUpperElement.h:107
Header file for the SparseElement base class.
Reference value() const
Access to the current value of the uniupper element.
Definition: UniUpperElement.h:346
Header file for the exception macros of the math module.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_UPPER_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is a upper triangular matrix type...
Definition: Upper.h:81
IndexType index() const
Access to the current index of the uniupper element.
Definition: UniUpperElement.h:359
Header file for the UniUpperValue class.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_SYMMETRIC_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is a symmetric matrix type, a compilation error is created.
Definition: Symmetric.h:79
Constraint on the data type.
Constraint on the data type.
UniUpperElement * Pointer
Pointer return type.
Definition: UniUpperElement.h:110
Representation of an element within a sparse upper unitriangular matrix.The UniUpperElement class rep...
Definition: UniUpperElement.h:96
#define BLAZE_CONSTRAINT_MUST_BE_NUMERIC_TYPE(T)
Constraint on the data type.In case the given data type T is not a numeric (integral or floating poin...
Definition: Numeric.h:61
#define BLAZE_CONSTRAINT_MUST_NOT_BE_LOWER_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is a lower triangular matrix type...
Definition: Lower.h:81
#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.
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
UniUpperValue< MT > ValueType
The value type of the value-index-pair.
Definition: UniUpperElement.h:106
typename T::Iterator Iterator_
Alias declaration for nested Iterator type definitions.The Iterator_ alias declaration provides a con...
Definition: Aliases.h:183
#define BLAZE_CONSTRAINT_MUST_NOT_BE_EXPRESSION_TYPE(T)
Constraint on the data type.In case the given data type T is an expression (i.e. a type derived from ...
Definition: Expression.h:81
UniUpperElement(IteratorType pos, bool diagonal)
Constructor for the UniUpperElement class.
Definition: UniUpperElement.h:186
Representation of a value within a sparse upper unitriangular matrix.The UniUpperValue class represen...
Definition: UniUpperValue.h:105
#define BLAZE_CONSTRAINT_MUST_NOT_BE_HERMITIAN_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is an Hermitian matrix type, a compilation error is created.
Definition: Hermitian.h:79
Size type of the Blaze library.
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a sparse, N-dimensional matrix type...
Definition: SparseMatrix.h:61