35 #ifndef _BLAZE_MATH_ADAPTORS_STRICTLYUPPERMATRIX_UPPERPROXY_H_
36 #define _BLAZE_MATH_ADAPTORS_STRICTLYUPPERMATRIX_UPPERPROXY_H_
99 template<
typename MT >
137 template<
typename T >
inline const StrictlyUpperProxy& operator+=(
const T& value )
const;
138 template<
typename T >
inline const StrictlyUpperProxy& operator-=(
const T& value )
const;
139 template<
typename T >
inline const StrictlyUpperProxy& operator*=(
const T& value )
const;
140 template<
typename T >
inline const StrictlyUpperProxy& operator/=(
const T& value )
const;
147 inline RawReference
get()
const;
204 template<
typename MT >
206 : value_ ( matrix( row, column ) )
207 , restricted_( column <= row )
217 template<
typename MT >
219 : value_ ( uup.value_ )
220 , restricted_( uup.restricted_ )
243 template<
typename MT >
267 template<
typename MT >
268 template<
typename T >
292 template<
typename MT >
293 template<
typename T >
317 template<
typename MT >
318 template<
typename T >
342 template<
typename MT >
343 template<
typename T >
367 template<
typename MT >
368 template<
typename T >
395 template<
typename MT >
408 template<
typename MT >
429 template<
typename MT >
448 template<
typename MT >
452 template<
typename MT >
455 template<
typename MT >
458 template<
typename MT >
461 template<
typename MT >
464 template<
typename MT >
467 template<
typename MT >
470 template<
typename MT >
487 template<
typename MT >
493 return conj( (~proxy).
get() );
508 template<
typename MT >
528 template<
typename MT >
548 template<
typename MT >
570 template<
typename MT >
590 template<
typename MT >
610 template<
typename MT >
630 template<
typename MT >
Header file for the isnan shim.
#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:116
#define BLAZE_THROW_INVALID_ARGUMENT(MESSAGE)
Macro for the emission of a std::invalid_argument exceptionThis macro encapsulates the default way of...
Definition: Exception.h:187
bool isOne(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is 1.
Definition: DiagonalProxy.h:609
Header file for the AddConst type trait.
ReferenceType value_
Reference to the accessed matrix element.
Definition: StrictlyUpperProxy.h:163
Header file for basic type definitions.
Addition of a top level 'const' qualifier.The AddConst type trait adds a top level 'const' qualifier ...
Definition: AddConst.h:69
Proxy base class.The Proxy class is a base class for all proxy classes within the Blaze library that ...
Definition: Forward.h:51
bool isReal(const DiagonalProxy< MT > &proxy)
Returns whether the matrix element represents a real number.
Definition: DiagonalProxy.h:569
const StrictlyUpperProxy & operator=(const StrictlyUpperProxy &uup) const
Copy assignment operator for StrictlyUpperProxy.
Definition: StrictlyUpperProxy.h:244
Constraint on the data type.
void reset(const DiagonalProxy< MT > &proxy)
Resetting the represented element to the default initial values.
Definition: DiagonalProxy.h:507
DisableIf< Or< IsComputation< MT >, IsTransExpr< MT > >, typename ColumnExprTrait< MT >::Type >::Type column(Matrix< MT, SO > &matrix, size_t index)
Creating a view on a specific column of the given matrix.
Definition: Column.h:107
#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:116
Access proxy for strictly upper triangular matrices.The StrictlyUpperProxy provides controlled access...
Definition: StrictlyUpperProxy.h:100
Constraint on the data type.
Header file for the Proxy class.
bool isDefault(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is in default state.
Definition: DiagonalProxy.h:547
Constraint on the data type.
Constraint on the data type.
Addition of a top level reference.In case the given type T is not a reference type, the AddReference type trait adds a top level reference to the given type T. Else the resulting type Type is T.
Definition: AddReference.h:69
ConjExprTrait< typename DiagonalProxy< MT >::RepresentedType >::Type conj(const DiagonalProxy< MT > &proxy)
Computing the complex conjugate of the represented element.
Definition: DiagonalProxy.h:487
Header file for the clear shim.
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:116
AddConst< typename MT::Reference >::Type ReferenceType
Reference type of the underlying matrix type.
Definition: StrictlyUpperProxy.h:105
StrictlyUpperProxy(MT &matrix, size_t row, size_t column)
Initialization constructor for a StrictlyUpperProxy.
Definition: StrictlyUpperProxy.h:205
Constraint on the data type.
Header file for the isZero shim.
Constraint on the data type.
RawReference get() const
Returning the value of the accessed matrix element.
Definition: StrictlyUpperProxy.h:396
bool isnan(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is not a number.
Definition: DiagonalProxy.h:629
#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:118
Type ElementType
Type of the sparse matrix elements.
Definition: CompressedMatrix.h:2586
const bool restricted_
Access flag for the accessed matrix element.
Definition: StrictlyUpperProxy.h:164
const Type & ConstReference
Reference to a constant matrix value.
Definition: CompressedMatrix.h:2590
void clear(const DiagonalProxy< MT > &proxy)
Clearing the represented element.
Definition: DiagonalProxy.h:527
Header file for the isOne shim.
Header file for the conjugate shim.
DisableIf< Or< IsComputation< MT >, IsTransExpr< MT > >, typename RowExprTrait< MT >::Type >::Type row(Matrix< MT, SO > &matrix, size_t index)
Creating a view on a specific row of the given matrix.
Definition: Row.h:107
Evaluation of the return type of a complex conjugate expression.Via this type trait it is possible to...
Definition: ConjExprTrait.h:87
#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:116
AddReference< ReferenceType >::Type RawReference
Reference-to-non-const to the represented element.
Definition: StrictlyUpperProxy.h:114
Constraint on the data type.
Constraint on the data type.
Header file for the reset shim.
#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:118
#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:116
Header file for the isDefault shim.
const RepresentedType & ConstReference
Reference-to-const to the represented element.
Definition: StrictlyUpperProxy.h:117
Constraint on the data type.
Constraint on the data type.
bool isRestricted() const
Returns whether the proxy represents a restricted matrix element..
Definition: StrictlyUpperProxy.h:409
#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:118
MT::ElementType RepresentedType
Type of the represented matrix element.
Definition: StrictlyUpperProxy.h:111
bool isZero(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is 0.
Definition: DiagonalProxy.h:589
Header file for the AddReference type trait.
#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:116
#define BLAZE_CONSTRAINT_MUST_BE_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a N-dimensional matrix type...
Definition: Matrix.h:79
Header file for exception macros.
Header file for the ConjExprTrait class template.
Header file for the isReal shim.