35#ifndef _BLAZE_MATH_ADAPTORS_LOWERMATRIX_UNILOWERPROXY_H_
36#define _BLAZE_MATH_ADAPTORS_LOWERMATRIX_UNILOWERPROXY_H_
102template<
typename MT >
104 :
public Proxy< UniLowerProxy<MT> >
116 template<
typename T >
117 struct BuiltinType {
using Type = INVALID_TYPE; };
125 template<
typename T >
126 struct ComplexType {
using Type =
typename T::value_type; };
137 , ComplexType<RepresentedType>
138 , BuiltinType<RepresentedType> >
::Type;
164 template<
typename T >
inline const UniLowerProxy& operator+=(
const T& value )
const;
165 template<
typename T >
inline const UniLowerProxy& operator-=(
const T& value )
const;
166 template<
typename T >
inline const UniLowerProxy& operator*=(
const T& value )
const;
167 template<
typename T >
inline const UniLowerProxy& operator/=(
const T& value )
const;
168 template<
typename T >
inline const UniLowerProxy& operator%=(
const T& value )
const;
182 inline
void invert() const;
249 if( proxy.column_ < proxy.row_ ) {
250 reset( proxy.value_ );
296template<
typename MT >
323template<
typename MT >
347template<
typename MT >
348template<
typename T >
372template<
typename MT >
373template<
typename T >
397template<
typename MT >
398template<
typename T >
422template<
typename MT >
423template<
typename T >
447template<
typename MT >
448template<
typename T >
472template<
typename MT >
473template<
typename T >
500template<
typename MT >
524template<
typename MT >
544template<
typename MT >
557template<
typename MT >
578template<
typename MT >
602template<
typename MT >
621template<
typename MT >
641template<
typename MT >
660template<
typename MT >
683template<
typename MT >
696template<
typename MT >
Header file for auxiliary alias declarations.
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.
Definition Aliases.h:190
Constraint on the data type.
Constraint on the data type.
Header file for the If class template.
Utility type for generic codes.
Header file for the invert shim.
Header file for the IsComplex type trait.
Header file for the isDefault shim.
Header file for the isOne shim.
Header file for the isReal shim.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
Header file for the relaxation flag enumeration.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
Access proxy for lower unitriangular matrices.
Definition UniLowerProxy.h:105
ReferenceType value_
Reference to the accessed matrix element.
Definition UniLowerProxy.h:210
RepresentedType get() const noexcept
Returning the value of the accessed matrix element.
Definition UniLowerProxy.h:545
ValueType real() const
Returns the real part of the represented complex number.
Definition UniLowerProxy.h:603
typename If_t< IsComplex_v< RepresentedType >, ComplexType< RepresentedType >, BuiltinType< RepresentedType > >::Type ValueType
Value type of the represented complex element.
Definition UniLowerProxy.h:136
bool isRestricted() const noexcept
Returns whether the proxy represents a restricted matrix element..
Definition UniLowerProxy.h:558
ElementType_t< MT > RepresentedType
Type of the represented matrix element.
Definition UniLowerProxy.h:133
UniLowerProxy(MT &matrix, size_t row, size_t column)
Initialization constructor for an UniLowerProxy.
Definition UniLowerProxy.h:297
const UniLowerProxy & operator=(const UniLowerProxy &ulp) const
Copy assignment operator for UniLowerProxy.
Definition UniLowerProxy.h:324
void invert() const
In-place inversion of the represented element.
Definition UniLowerProxy.h:525
ValueType value_type
Value type of the represented complex element.
Definition UniLowerProxy.h:140
ValueType imag() const
Returns the imaginary part of the represented complex number.
Definition UniLowerProxy.h:642
size_t row_
Row index of the accessed matrix element.
Definition UniLowerProxy.h:211
size_t column_
Column index of the accessed matrix element.
Definition UniLowerProxy.h:212
const UniLowerProxy * operator->() const noexcept
Direct access to the accessed matrix element.
Definition UniLowerProxy.h:501
typename MT::Reference ReferenceType
Reference type of the underlying matrix type.
Definition UniLowerProxy.h:109
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
void invert(const HermitianProxy< MT > &proxy)
In-place inversion of the represented element.
Definition HermitianProxy.h:693
#define BLAZE_CONSTRAINT_MUST_NOT_BE_SYMMETRIC_MATRIX_TYPE(T)
Constraint on the data type.
Definition Symmetric.h:79
#define BLAZE_CONSTRAINT_MUST_BE_MATRIX_TYPE(T)
Constraint on the data type.
Definition Matrix.h:61
#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_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 void clear(Matrix< MT, SO > &matrix)
Clearing the given matrix.
Definition Matrix.h:960
constexpr void reset(Matrix< MT, SO > &matrix)
Resetting the given matrix.
Definition Matrix.h:806
decltype(auto) row(Matrix< MT, SO > &, RRAs...)
Creating a view on a specific row of the given matrix.
Definition Row.h:137
#define BLAZE_THROW_INVALID_ARGUMENT(MESSAGE)
Macro for the emission of a std::invalid_argument exception.
Definition Exception.h:235
typename If< Condition >::template Type< T1, T2 > If_t
Auxiliary alias template for the If class template.
Definition If.h:108
Header file for the exception macros of the math module.
Header file for the Proxy class.
Header file for the clear shim.
Header file for the isZero shim.
Header file for the reset shim.
Header file for basic type definitions.