35#ifndef _BLAZE_MATH_ADAPTORS_SYMMETRICMATRIX_SYMMETRICELEMENT_H_
36#define _BLAZE_MATH_ADAPTORS_SYMMETRICMATRIX_SYMMETRICELEMENT_H_
106template<
typename MT >
209template< typename MT >
234template<
typename MT >
235template<
typename T >
251template<
typename MT >
252template<
typename T >
268template<
typename MT >
269template<
typename T >
285template<
typename MT >
286template<
typename T >
302template<
typename MT >
303template<
typename T >
326template<
typename MT >
347template<
typename MT >
360template<
typename MT >
363 return pos_->index();
373template<
typename MT >
392template<
typename MT >
402 ( pos2 !=
end &&
pos_->value() == pos2->value() );
Header file for auxiliary alias declarations.
typename T::Iterator Iterator_t
Alias declaration for nested Iterator type definitions.
Definition Aliases.h:210
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.
Definition Aliases.h:190
Header file for run time assertion macros.
Constraint on the data type.
Constraint on the data type.
Header file for the isDefault shim.
Header file for the IsRowMajorMatrix type trait.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
Header file for the SymmetricValue class.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
const SymmetricValue< MT > ConstReference
Reference-to-const return type.
Definition SymmetricElement.h:121
SymmetricValue< MT > ValueType
The value type of the value-index-pair.
Definition SymmetricElement.h:118
Pointer operator->() noexcept
Direct access to the Hermitian element.
Definition SymmetricElement.h:327
MT * matrix_
The sparse matrix containing the iterator.
Definition SymmetricElement.h:169
Reference value() const
Access to the current value of the Hermitian element.
Definition SymmetricElement.h:348
bool isSynced() const
Checking if the current sparse element is in sync.
Definition SymmetricElement.h:393
Iterator_t< MT > IteratorType
Type of the underlying sparse matrix iterators.
Definition SymmetricElement.h:113
size_t index_
The row/column index of the iterator.
Definition SymmetricElement.h:170
IndexType index() const
Access to the current index of the Hermitian element.
Definition SymmetricElement.h:361
void sync()
Synchronization of the current sparse element to the according paired element.
Definition SymmetricElement.h:374
size_t IndexType
The index type of the value-index-pair.
Definition SymmetricElement.h:119
SymmetricValue< MT > Reference
Reference return type.
Definition SymmetricElement.h:120
IteratorType pos_
Iterator to the current sparse Hermitian matrix element.
Definition SymmetricElement.h:168
ElementType_t< MT > ElementType
Type of the represented matrix element.
Definition SymmetricElement.h:112
SymmetricElement(IteratorType pos, MT *matrix, size_t idx)
Constructor for the SymmetricElement class.
Definition SymmetricElement.h:210
SymmetricElement * Pointer
Pointer return type.
Definition SymmetricElement.h:122
Representation of two synchronized values within a sparse symmetric matrix.
Definition SymmetricValue.h:117
Size type of the Blaze library.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
decltype(auto) column(Matrix< MT, SO > &matrix, RCAs... args)
Creating a view on a specific column of the given matrix.
Definition Column.h:137
#define BLAZE_CONSTRAINT_MUST_NOT_BE_VOLATILE(T)
Constraint on the data type.
Definition Volatile.h:79
#define BLAZE_CONSTRAINT_MUST_NOT_BE_POINTER_TYPE(T)
Constraint on the data type.
Definition Pointer.h:79
#define BLAZE_CONSTRAINT_MUST_NOT_BE_CONST(T)
Constraint on the data type.
Definition Const.h:79
#define BLAZE_CONSTRAINT_MUST_NOT_BE_REFERENCE_TYPE(T)
Constraint on the data type.
Definition Reference.h:79
bool isDefault(const DiagonalMatrix< MT, SO, DF > &m)
Returns whether the given diagonal matrix is in default state.
Definition DiagonalMatrix.h:169
#define BLAZE_CONSTRAINT_MUST_NOT_BE_SYMMETRIC_MATRIX_TYPE(T)
Constraint on the data type.
Definition Symmetric.h:79
#define BLAZE_CONSTRAINT_MUST_NOT_BE_VIEW_TYPE(T)
Constraint on the data type.
Definition View.h:81
#define BLAZE_CONSTRAINT_MUST_NOT_BE_HERMITIAN_MATRIX_TYPE(T)
Constraint on the data type.
Definition Hermitian.h:79
#define BLAZE_CONSTRAINT_MUST_NOT_BE_UPPER_MATRIX_TYPE(T)
Constraint on the data type.
Definition Upper.h:81
#define BLAZE_CONSTRAINT_MUST_NOT_BE_COMPUTATION_TYPE(T)
Constraint on the data type.
Definition Computation.h:81
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_MATRIX_TYPE(T)
Constraint on the data type.
Definition SparseMatrix.h:61
#define BLAZE_CONSTRAINT_MUST_NOT_BE_LOWER_MATRIX_TYPE(T)
Constraint on the data type.
Definition Lower.h:81
#define BLAZE_CONSTRAINT_MUST_BE_SCALAR_TYPE(T)
Constraint on the data type.
Definition Scalar.h:61
#define BLAZE_CONSTRAINT_MUST_NOT_BE_TRANSFORMATION_TYPE(T)
Constraint on the data type.
Definition Transformation.h:81
constexpr bool IsRowMajorMatrix_v
Auxiliary variable template for the IsRowMajorMatrix type trait.
Definition IsRowMajorMatrix.h:129
MT::Iterator end(Matrix< MT, SO > &matrix, size_t i)
Returns an iterator just past the last element of row/column i.
Definition Matrix.h:584
decltype(auto) row(Matrix< MT, SO > &, RRAs...)
Creating a view on a specific row of the given matrix.
Definition Row.h:137
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.
Definition Assert.h:101
Header file for the SparseElement base class.
Base class for all sparse element types.
Definition SparseElement.h:58
Header file for basic type definitions.