35 #ifndef _BLAZE_MATH_ADAPTORS_LOWERMATRIX_LOWERPROXY_H_ 36 #define _BLAZE_MATH_ADAPTORS_LOWERMATRIX_LOWERPROXY_H_ 97 template<
typename MT >
99 :
public Proxy< LowerProxy<MT>, ElementType_t<MT> >
134 template<
typename T >
137 template<
typename T >
141 template<
typename T >
inline const LowerProxy& operator+=(
const T& value )
const;
142 template<
typename T >
inline const LowerProxy& operator-=(
const T& value )
const;
143 template<
typename T >
inline const LowerProxy& operator*=(
const T& value )
const;
144 template<
typename T >
inline const LowerProxy& operator/=(
const T& value )
const;
145 template<
typename T >
inline const LowerProxy& operator%=(
const T& value )
const;
216 template< typename MT >
229 template<
typename MT >
255 template<
typename MT >
279 template<
typename MT >
280 template<
typename T >
304 template<
typename MT >
305 template<
typename T >
329 template<
typename MT >
330 template<
typename T >
354 template<
typename MT >
355 template<
typename T >
379 template<
typename MT >
380 template<
typename T >
404 template<
typename MT >
405 template<
typename T >
429 template<
typename MT >
430 template<
typename T >
454 template<
typename MT >
455 template<
typename T >
482 template<
typename MT >
503 template<
typename MT >
516 template<
typename MT >
537 template<
typename MT >
556 template<
typename MT >
559 template<
typename MT >
562 template<
bool RF,
typename MT >
565 template<
bool RF,
typename MT >
568 template<
bool RF,
typename MT >
571 template<
bool RF,
typename MT >
574 template<
typename MT >
590 template<
typename MT >
610 template<
typename MT >
630 template<
bool RF,
typename MT >
635 return isDefault<RF>( proxy.
get() );
652 template<
bool RF,
typename MT >
657 return isReal<RF>( proxy.
get() );
672 template<
bool RF,
typename MT >
677 return isZero<RF>( proxy.
get() );
692 template<
bool RF,
typename MT >
697 return isOne<RF>( proxy.
get() );
712 template<
typename MT >
bool isReal(const DiagonalProxy< MT > &proxy)
Returns whether the matrix element represents a real number.
Definition: DiagonalProxy.h:653
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: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 the AddConst type trait.
Header file for auxiliary alias declarations.
decltype(auto) column(Matrix< MT, SO > &matrix, RCAs... args)
Creating a view on a specific column of the given matrix.
Definition: Column.h:133
Header file for basic type definitions.
Proxy base class.The Proxy class is a base class for all proxy classes within the Blaze library that ...
Definition: Forward.h:51
Header file for the isZero shim.
bool isRestricted() const noexcept
Returns whether the proxy represents a restricted matrix element.
Definition: LowerProxy.h:517
Constraint on the data type.
void reset(const DiagonalProxy< MT > &proxy)
Resetting the represented element to the default initial values.
Definition: DiagonalProxy.h:591
const Type & ConstReference
Reference to a constant matrix value.
Definition: CompressedMatrix.h:3084
#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 RepresentedType & ConstReference
Reference-to-const to the represented element.
Definition: LowerProxy.h:111
Header file for the reset shim.
Header file for the extended initializer_list functionality.
Constraint on the data type.
AddConst_t< Reference_t< MT > > ReferenceType
Reference type of the underlying matrix type.
Definition: LowerProxy.h:104
Header file for the Proxy class.
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.The ElementType_t alias declaration provide...
Definition: Aliases.h:170
LowerProxy(MT &matrix, size_t row, size_t column)
Initialization constructor for a LowerProxy.
Definition: LowerProxy.h:217
Constraint on the data type.
Constraint on the data type.
const LowerProxy & operator=(const LowerProxy &lp) const
Copy assignment operator for LowerProxy.
Definition: LowerProxy.h:256
typename AddReference< T >::Type AddReference_t
Auxiliary alias declaration for the AddReference type trait.The AddReference_t alias declaration prov...
Definition: AddReference.h:95
bool isZero(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is 0.
Definition: DiagonalProxy.h:673
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
RawReference get() const noexcept
Returning the value of the accessed matrix element.
Definition: LowerProxy.h:504
#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
Constraint on the data type.
Constraint on the data type.
ReferenceType value_
Reference to the accessed matrix element.
Definition: LowerProxy.h:175
typename AddConst< T >::Type AddConst_t
Auxiliary alias declaration for the AddConst type trait.The AddConst_t alias declaration provides a c...
Definition: AddConst.h:95
bool isnan(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is not a number.
Definition: DiagonalProxy.h:713
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
void clear(const DiagonalProxy< MT > &proxy)
Clearing the represented element.
Definition: DiagonalProxy.h:611
Header file for the isOne shim.
const bool restricted_
Access flag for the accessed matrix element.
Definition: LowerProxy.h:176
#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
Access proxy for lower triangular matrices.The LowerProxy provides controlled access to the elements ...
Definition: LowerProxy.h:98
Constraint on the data type.
Constraint on the data type.
decltype(auto) row(Matrix< MT, SO > &, RRAs...)
Creating a view on a specific row of the given matrix.
Definition: Row.h:133
#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
bool isOne(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is 1.
Definition: DiagonalProxy.h:693
Header file for the isDefault shim.
Constraint on the data type.
Constraint on the data type.
Initializer list type of the Blaze library.
AddReference_t< ReferenceType > RawReference
Reference-to-non-const to the represented element.
Definition: LowerProxy.h:110
#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
Header file for the AddReference type trait.
bool isDefault(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is in default state.
Definition: DiagonalProxy.h:631
#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
#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:61
const LowerProxy * operator->() const noexcept
Direct access to the accessed matrix element.
Definition: LowerProxy.h:483
ElementType_t< MT > RepresentedType
Type of the represented matrix element.
Definition: LowerProxy.h:109
Header file for the isReal shim.
Header file for the clear shim.