35 #ifndef _BLAZE_MATH_EXPRESSIONS_DMATDMATMAPEXPR_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_DMATDMATMAPEXPR_H_ 102 template<
typename MT1
107 :
public MatMatMapExpr< DenseMatrix< DMatDMatMapExpr<MT1,MT2,OP,SO>, SO > >
139 template<
typename MT >
142 enum :
bool { value = useAssign };
155 template<
typename MT >
156 struct UseSMPAssign {
157 enum :
bool { value = ( !MT1::smpAssignable || !MT2::smpAssignable ) && useAssign };
164 struct UseSIMDEnabledFlag {
166 enum :
bool { value = OP::BLAZE_TEMPLATE simdEnabled<ET1,ET2>() };
180 using ReturnType = decltype( std::declval<OP>()( std::declval<RN1>(), std::declval<RN2>() ) );
318 return op_( *left_, *right_ );
327 inline auto load() const noexcept {
328 return op_.load( left_.load(), right_.load() );
339 return left_ == rhs.
left_;
350 return left_ != rhs.
left_;
361 return left_ < rhs.
left_;
372 return left_ > rhs.
left_;
383 return left_ <= rhs.
left_;
394 return left_ >= rhs.
left_;
405 return left_ - rhs.
left_;
456 enum :
bool { simdEnabled = MT1::simdEnabled && MT2::simdEnabled &&
460 enum :
bool { smpAssignable = MT1::smpAssignable && MT2::smpAssignable };
505 if( i >=
lhs_.rows() ) {
508 if( j >=
lhs_.columns() ) {
558 inline size_t rows() const noexcept {
569 return lhs_.columns();
609 template<
typename T >
610 inline bool canAlias(
const T* alias )
const noexcept {
622 template<
typename T >
623 inline bool isAliased(
const T* alias )
const noexcept {
624 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
634 return lhs_.isAligned() &&
rhs_.isAligned();
644 return lhs_.canSMPAssign() &&
rhs_.canSMPAssign();
669 template<
typename MT
689 assign( ~lhs,
map( A, B, rhs.
op_ ) );
708 template<
typename MT
727 const TmpType tmp(
serial( rhs ) );
747 template<
typename MT
767 addAssign( ~lhs,
map( A, B, rhs.
op_ ) );
790 template<
typename MT
810 subAssign( ~lhs,
map( A, B, rhs.
op_ ) );
833 template<
typename MT
853 schurAssign( ~lhs,
map( A, B, rhs.
op_ ) );
884 template<
typename MT
923 template<
typename MT
942 const TmpType tmp( rhs );
963 template<
typename MT
1007 template<
typename MT
1051 template<
typename MT
1128 template<
typename MT1
1132 inline decltype(
auto)
1165 template<
typename MT1
1169 inline decltype(
auto)
1174 return map( ~lhs, ~rhs,
Min() );
1197 template<
typename MT1
1201 inline decltype(
auto)
1206 return map( ~lhs, ~rhs,
Max() );
1221 template<
typename MT1,
typename MT2,
typename OP,
bool SO >
1222 struct Rows< DMatDMatMapExpr<MT1,MT2,OP,SO> >
1223 :
public Maximum< Rows<MT1>, Rows<MT2> >
1239 template<
typename MT1,
typename MT2,
typename OP,
bool SO >
1240 struct Columns< DMatDMatMapExpr<MT1,MT2,OP,SO> >
1241 :
public Maximum< Columns<MT1>, Columns<MT2> >
1257 template<
typename MT1,
typename MT2,
typename OP,
bool SO >
1258 struct IsAligned< DMatDMatMapExpr<MT1,MT2,OP,SO> >
1259 :
public BoolConstant< And< IsAligned<MT1>, IsAligned<MT2> >::value >
1275 template<
typename MT1,
typename MT2,
typename OP,
bool SO >
1276 struct IsPadded< DMatDMatMapExpr<MT1,MT2,OP,SO> >
1277 :
public BoolConstant< And< IsPadded<MT1>, IsPadded<MT2> >::value >
1293 template<
typename MT1,
typename MT2,
bool SO >
1294 struct IsSymmetric< DMatDMatMapExpr<MT1,MT2,Min,SO> >
1295 :
public BoolConstant< And< IsSymmetric<MT1>, IsSymmetric<MT2> >::value >
1298 template<
typename MT1,
typename MT2,
bool SO >
1299 struct IsSymmetric< DMatDMatMapExpr<MT1,MT2,Max,SO> >
1300 :
public BoolConstant< And< IsSymmetric<MT1>, IsSymmetric<MT2> >::value >
1316 template<
typename MT1,
typename MT2,
bool SO >
1317 struct IsHermitian< DMatDMatMapExpr<MT1,MT2,Min,SO> >
1318 :
public BoolConstant< And< IsHermitian<MT1>, IsHermitian<MT2> >::value >
1321 template<
typename MT1,
typename MT2,
bool SO >
1322 struct IsHermitian< DMatDMatMapExpr<MT1,MT2,Max,SO> >
1323 :
public BoolConstant< And< IsHermitian<MT1>, IsHermitian<MT2> >::value >
1339 template<
typename MT1,
typename MT2,
bool SO >
1340 struct IsLower< DMatDMatMapExpr<MT1,MT2,Min,SO> >
1341 :
public BoolConstant< And< IsLower<MT1>, IsLower<MT2> >::value >
1344 template<
typename MT1,
typename MT2,
bool SO >
1345 struct IsLower< DMatDMatMapExpr<MT1,MT2,Max,SO> >
1346 :
public BoolConstant< And< IsLower<MT1>, IsLower<MT2> >::value >
1362 template<
typename MT1,
typename MT2,
bool SO >
1363 struct IsUniLower< DMatDMatMapExpr<MT1,MT2,Min,SO> >
1364 :
public BoolConstant< And< IsUniLower<MT1>, IsUniLower<MT2> >::value >
1367 template<
typename MT1,
typename MT2,
bool SO >
1368 struct IsUniLower< DMatDMatMapExpr<MT1,MT2,Max,SO> >
1369 :
public BoolConstant< And< IsUniLower<MT1>, IsUniLower<MT2> >::value >
1385 template<
typename MT1,
typename MT2,
bool SO >
1387 :
public BoolConstant< And< IsStrictlyLower<MT1>, IsStrictlyLower<MT2> >::value >
1390 template<
typename MT1,
typename MT2,
bool SO >
1392 :
public BoolConstant< And< IsStrictlyLower<MT1>, IsStrictlyLower<MT2> >::value >
1408 template<
typename MT1,
typename MT2,
bool SO >
1409 struct IsUpper< DMatDMatMapExpr<MT1,MT2,Min,SO> >
1410 :
public BoolConstant< And< IsUpper<MT1>, IsUpper<MT2> >::value >
1413 template<
typename MT1,
typename MT2,
bool SO >
1414 struct IsUpper< DMatDMatMapExpr<MT1,MT2,Max,SO> >
1415 :
public BoolConstant< And< IsUpper<MT1>, IsUpper<MT2> >::value >
1431 template<
typename MT1,
typename MT2,
bool SO >
1432 struct IsUniUpper< DMatDMatMapExpr<MT1,MT2,Min,SO> >
1433 :
public BoolConstant< And< IsUniUpper<MT1>, IsUniUpper<MT2> >::value >
1436 template<
typename MT1,
typename MT2,
bool SO >
1437 struct IsUniUpper< DMatDMatMapExpr<MT1,MT2,Max,SO> >
1438 :
public BoolConstant< And< IsUniUpper<MT1>, IsUniUpper<MT2> >::value >
1454 template<
typename MT1,
typename MT2,
bool SO >
1456 :
public BoolConstant< And< IsStrictlyUpper<MT1>, IsStrictlyUpper<MT2> >::value >
1459 template<
typename MT1,
typename MT2,
bool SO >
1461 :
public BoolConstant< And< IsStrictlyUpper<MT1>, IsStrictlyUpper<MT2> >::value >
#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
Pointer difference type of the Blaze library.
IteratorCategory iterator_category
The iterator category.
Definition: DMatDMatMapExpr.h:215
Header file for auxiliary alias declarations.
Base class for all binary matrix map expression templates.The MatMatMapExpr class serves as a tag for...
Definition: MatMatMapExpr.h:66
DMatDMatMapExpr(const MT1 &lhs, const MT2 &rhs, OP op) noexcept
Constructor for the DMatDMatMapExpr class.
Definition: DMatDMatMapExpr.h:475
ElementType_< ResultType > ElementType
Resulting element type.
Definition: DMatDMatMapExpr.h:177
Header file for the Rows type trait.
Header file for the IsUniUpper type trait.
EnableIf_< IsDenseMatrix< MT1 > > smpSchurAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP Schur product assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:196
Header file for basic type definitions.
Operation operation() const
Returns a copy of the custom operation.
Definition: DMatDMatMapExpr.h:598
BinaryMapTrait_< RT1, RT2, OP > ResultType
Result type for expression template evaluations.
Definition: DMatDMatMapExpr.h:174
ReturnType_< MT2 > RN2
Return type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:117
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: DMatDMatMapExpr.h:568
EnableIf_< IsDenseMatrix< MT1 > > smpSubAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP subtraction assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:164
decltype(std::declval< OP >()(std::declval< RN1 >(), std::declval< RN2 >())) ReturnType
Return type for expression template evaluations.
Definition: DMatDMatMapExpr.h:180
Header file for the serial shim.
#define BLAZE_CONSTRAINT_MUST_BE_MATRIX_WITH_STORAGE_ORDER(T, SO)
Constraint on the data type.In case the given data type T is not a dense or sparse matrix type and in...
Definition: StorageOrder.h:63
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
TransposeType_< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition: DMatDMatMapExpr.h:176
#define BLAZE_CONSTRAINT_MUST_BE_DENSE_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a dense, N-dimensional matrix type...
Definition: DenseMatrix.h:61
friend const ConstIterator operator-(const ConstIterator &it, size_t dec)
Subtraction between a ConstIterator and an integral value.
Definition: DMatDMatMapExpr.h:440
typename BinaryMapTrait< T1, T2, OP >::Type BinaryMapTrait_
Auxiliary alias declaration for the BinaryMapTrait class template.The BinaryMapTrait_ alias declarati...
Definition: BinaryMapTrait.h:161
bool isAligned() const noexcept
Returns whether the operands of the expression are properly aligned in memory.
Definition: DMatDMatMapExpr.h:633
Header file for the And class template.
const ElementType_< MT > min(const DenseMatrix< MT, SO > &dm)
Returns the smallest element of the dense matrix.
Definition: DenseMatrix.h:1762
Compile time value evaluation.The Maximum alias declaration selects the larger of the two given templ...
Definition: Maximum.h:73
Compile time check for lower triangular matrices.This type trait tests whether or not the given templ...
Definition: IsLower.h:88
LeftOperand lhs_
Left-hand side dense matrix of the map expression.
Definition: DMatDMatMapExpr.h:650
If_< RequiresEvaluation< MT2 >, const RT2, CT2 > RT
Type for the assignment of the right-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:198
ReturnType operator*() const
Direct access to the element at the current iterator position.
Definition: DMatDMatMapExpr.h:317
Header file for the Computation base class.
ElementType * PointerType
Pointer return type.
Definition: DMatDMatMapExpr.h:210
Compile time check for upper triangular matrices.This type trait tests whether or not the given templ...
Definition: IsUpper.h:88
bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:349
IfTrue_< useAssign, const ResultType, const DMatDMatMapExpr &> CompositeType
Data type for composite expression templates.
Definition: DMatDMatMapExpr.h:183
Header file for the RequiresEvaluation type trait.
ConstIterator & operator-=(size_t dec)
Subtraction assignment operator.
Definition: DMatDMatMapExpr.h:261
CompositeType_< MT1 > CT1
Composite type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:118
Header file for the IsUniLower type trait.
typename T::ResultType ResultType_
Alias declaration for nested ResultType type definitions.The ResultType_ alias declaration provides a...
Definition: Aliases.h:343
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1809
EnableIf_< IsDenseMatrix< MT1 > > smpAddAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP addition assignment of a matrix to a dense matrix.
Definition: DenseMatrix.h:133
RightOperand rightOperand() const noexcept
Returns the right-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:588
bool canSMPAssign() const noexcept
Returns whether the expression can be used in SMP assignments.
Definition: DMatDMatMapExpr.h:643
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes...
Definition: DenseMatrix.h:78
Base class for sparse matrices.The SparseMatrix class is a base class for all sparse matrix classes...
Definition: Forward.h:129
BLAZE_CREATE_HAS_DATA_OR_FUNCTION_MEMBER_TYPE_TRAIT(HasSIMDEnabled, simdEnabled)
Definition of the HasSIMDEnabled type trait.
typename IfTrue< Condition, T1, T2 >::Type IfTrue_
Auxiliary alias declaration for the IfTrue class template.The IfTrue_ alias declaration provides a co...
Definition: If.h:109
PointerType pointer
Pointer return type.
Definition: DMatDMatMapExpr.h:217
typename T::ReturnType ReturnType_
Alias declaration for nested ReturnType type definitions.The ReturnType_ alias declaration provides a...
Definition: Aliases.h:363
ElementType & ReferenceType
Reference return type.
Definition: DMatDMatMapExpr.h:211
const ConstIterator operator--(int)
Post-decrement operator.
Definition: DMatDMatMapExpr.h:307
Compile time check for the alignment of data types.This type trait tests whether the given data type ...
Definition: IsAligned.h:87
Constraint on the data type.
Header file for the Maximum class template.
Compile time check to query the requirement to evaluate an expression.Via this type trait it is possi...
Definition: RequiresEvaluation.h:72
typename T::CompositeType CompositeType_
Alias declaration for nested CompositeType type definitions.The CompositeType_ alias declaration prov...
Definition: Aliases.h:83
BLAZE_ALWAYS_INLINE auto load(size_t i, size_t j) const noexcept
Access to the SIMD elements of the matrix.
Definition: DMatDMatMapExpr.h:522
Compile time check for upper unitriangular matrices.This type trait tests whether or not the given te...
Definition: IsUniUpper.h:86
ConstIterator_< MT2 > RightIteratorType
ConstIterator type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:225
OP Operation
Data type of the custom unary operation.
Definition: DMatDMatMapExpr.h:192
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Iterator over the elements of the dense matrix map expression.
Definition: DMatDMatMapExpr.h:204
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for nested template disabiguation.
Header file for the If class template.
LeftOperand leftOperand() const noexcept
Returns the left-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:578
ElementType_< MT2 > ET2
Element type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:115
Compile time check for data types with padding.This type trait tests whether the given data type empl...
Definition: IsPadded.h:76
EnableIf_< IsDenseMatrix< MT1 > > smpAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP assignment of a matrix to a dense matrix.
Definition: DenseMatrix.h:102
#define BLAZE_THROW_OUT_OF_RANGE(MESSAGE)
Macro for the emission of a std::out_of_range exception.This macro encapsulates the default way of Bl...
Definition: Exception.h:331
Header file for the DenseMatrix base class.
bool operator>=(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:393
Header file for the Columns type trait.
const Element * ConstIterator
Iterator over constant elements.
Definition: CompressedMatrix.h:3087
typename T::ElementType ElementType_
Alias declaration for nested ElementType type definitions.The ElementType_ alias declaration provides...
Definition: Aliases.h:163
Header file for all SIMD functionality.
auto load() const noexcept
Access to the SIMD elements of the matrix.
Definition: DMatDMatMapExpr.h:327
Header file for the IsLower type trait.
ResultType_< MT1 > RT1
Result type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:112
Header file for the IsAligned type trait.
ConstIterator & operator--()
Pre-decrement operator.
Definition: DMatDMatMapExpr.h:295
const ConstIterator operator++(int)
Post-increment operator.
Definition: DMatDMatMapExpr.h:285
std::random_access_iterator_tag IteratorCategory
The iterator category.
Definition: DMatDMatMapExpr.h:208
RightIteratorType right_
Iterator to the current right-hand side element.
Definition: DMatDMatMapExpr.h:448
Constraints on the storage order of matrix types.
ConstIterator_< MT1 > LeftIteratorType
ConstIterator type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:222
Compile time check for symmetric matrices.This type trait tests whether or not the given template par...
Definition: IsSymmetric.h:85
Header file for the exception macros of the math module.
friend const ConstIterator operator+(size_t inc, const ConstIterator &it)
Addition between an integral value and a ConstIterator.
Definition: DMatDMatMapExpr.h:428
Compile time check for strictly upper triangular matrices.This type trait tests whether or not the gi...
Definition: IsStrictlyUpper.h:86
Constraint on the data type.
Header file for all forward declarations for expression class templates.
Header file for the EnableIf class template.
Header file for the IsStrictlyLower type trait.
Header file for the IsPadded type trait.
Compile time check for lower unitriangular matrices.This type trait tests whether or not the given te...
Definition: IsUniLower.h:86
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition: DMatDMatMapExpr.h:504
OppositeType_< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: DMatDMatMapExpr.h:175
OP op_
The custom unary operation.
Definition: DMatDMatMapExpr.h:449
Header file for the binary map trait.
ElementType ValueType
Type of the underlying elements.
Definition: DMatDMatMapExpr.h:209
Header file for run time assertion macros.
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: DMatDMatMapExpr.h:489
If_< IsExpression< MT1 >, const MT1, const MT1 &> LeftOperand
Composite type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:186
Generic wrapper for the max() function.
Definition: Max.h:62
If_< IsExpression< MT2 >, const MT2, const MT2 &> RightOperand
Composite type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:189
LeftIteratorType left_
Iterator to the current left-hand side element.
Definition: DMatDMatMapExpr.h:447
Expression object for the dense matrix-dense matrix map() function.The DMatDMatMapExpr class represen...
Definition: DMatDMatMapExpr.h:106
If_< RequiresEvaluation< MT1 >, const RT1, CT1 > LT
Type for the assignment of the left-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:195
typename If< T1, T2, T3 >::Type If_
Auxiliary alias declaration for the If class template.The If_ alias declaration provides a convenient...
Definition: If.h:154
bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:338
ValueType value_type
Type of the underlying elements.
Definition: DMatDMatMapExpr.h:216
RightOperand rhs_
Right-hand side dense matrix of the map expression.
Definition: DMatDMatMapExpr.h:651
SIMD characteristics of data types.The SIMDTrait class template provides the SIMD characteristics of ...
Definition: SIMDTrait.h:296
#define BLAZE_FUNCTION_TRACE
Function trace macro.This macro can be used to reliably trace function calls. In case function tracin...
Definition: FunctionTrace.h:94
friend const ConstIterator operator+(const ConstIterator &it, size_t inc)
Addition between a ConstIterator and an integral value.
Definition: DMatDMatMapExpr.h:416
Compile time check for Hermitian matrices.This type trait tests whether or not the given template par...
Definition: IsHermitian.h:85
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:819
Header file for the HasMember type traits.
#define BLAZE_CONSTRAINT_MUST_NOT_REQUIRE_EVALUATION(T)
Constraint on the data type.In case the given data type T requires an intermediate evaluation within ...
Definition: RequiresEvaluation.h:81
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: DMatDMatMapExpr.h:558
typename EnableIf< Condition, T >::Type EnableIf_
Auxiliary alias declaration for the EnableIf class template.The EnableIf_ alias declaration provides ...
Definition: EnableIf.h:224
typename T::OppositeType OppositeType_
Alias declaration for nested OppositeType type definitions.The OppositeType_ alias declaration provid...
Definition: Aliases.h:263
#define BLAZE_CONSTRAINT_MATRICES_MUST_HAVE_SAME_STORAGE_ORDER(T1, T2)
Constraint on the data type.In case either of the two given data types T1 or T2 is not a matrix type ...
Definition: StorageOrder.h:84
ElementType_< MT1 > ET1
Element type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:114
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row i.
Definition: DMatDMatMapExpr.h:548
Operation op_
The custom unary operation.
Definition: DMatDMatMapExpr.h:652
Generic wrapper for the min() function.
Definition: Min.h:62
Header file for the Min functor.
Compile time check for strictly lower triangular matrices.This type trait tests whether or not the gi...
Definition: IsStrictlyLower.h:86
const Type & ReturnType
Return type for expression template evaluations.
Definition: CompressedMatrix.h:3082
typename T::ConstIterator ConstIterator_
Alias declaration for nested ConstIterator type definitions.The ConstIterator_ alias declaration prov...
Definition: Aliases.h:103
ReferenceType reference
Reference return type.
Definition: DMatDMatMapExpr.h:218
bool operator<(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:360
DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two iterators.
Definition: DMatDMatMapExpr.h:404
Header file for the MatMatMapExpr base class.
ConstIterator(LeftIteratorType left, RightIteratorType right, OP op)
Constructor for the ConstIterator class.
Definition: DMatDMatMapExpr.h:235
Base class for all compute expression templates.The Computation class serves as a tag for all computa...
Definition: Computation.h:66
bool operator>(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:371
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition: DMatDMatMapExpr.h:610
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row i.
Definition: DMatDMatMapExpr.h:537
Header file for the IntegralConstant class template.
Compile time evaluation of the number of columns of a matrix.The Columns type trait evaluates the num...
Definition: Columns.h:75
Compile time evaluation of the number of rows of a matrix.The Rows type trait evaluates the number of...
Definition: Rows.h:75
Header file for the Max functor.
ResultType_< MT2 > RT2
Result type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:113
CompositeType_< MT2 > CT2
Composite type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:119
ConstIterator & operator+=(size_t inc)
Addition assignment operator.
Definition: DMatDMatMapExpr.h:248
typename T::TransposeType TransposeType_
Alias declaration for nested TransposeType type definitions.The TransposeType_ alias declaration prov...
Definition: Aliases.h:423
Header file for the IsUpper type trait.
Header file for the IsHermitian type trait.
ReturnType_< MT1 > RN1
Return type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:116
bool operator<=(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:382
System settings for the inline keywords.
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.In case of an invalid run time expression, the program execution is terminated. The BLAZE_INTERNAL_ASSERT macro can be disabled by setting the BLAZE_USER_ASSERTION flag to zero or by defining NDEBUG during the compilation.
Definition: Assert.h:101
Compile time check whether the given type is an expression template.This type trait class tests wheth...
Definition: IsExpression.h:95
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition: DMatDMatMapExpr.h:623
Header file for the IsExpression type trait class.
Header file for the function trace functionality.
decltype(auto) map(const DenseMatrix< MT1, SO > &lhs, const DenseMatrix< MT2, SO > &rhs, OP op)
Evaluates the given binary operation on each single element of the dense matrices lhs and rhs...
Definition: DMatDMatMapExpr.h:1133
ConstIterator & operator++()
Pre-increment operator.
Definition: DMatDMatMapExpr.h:273