35 #ifndef _BLAZE_MATH_EXPRESSIONS_DMATDMATSCHUREXPR_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_DMATDMATSCHUREXPR_H_ 102 template<
typename MT1
106 :
public SchurExpr< DenseMatrix< DMatDMatSchurExpr<MT1,MT2,SO>, SO > >
128 static constexpr
bool returnExpr = ( !IsTemporary_v<RN1> && !IsTemporary_v<RN2> );
143 ( RequiresEvaluation_v<MT1> || RequiresEvaluation_v<MT2> || !
returnExpr );
146 template<
typename MT >
148 static constexpr
bool UseAssign_v =
useAssign;
160 template<
typename MT >
161 static constexpr
bool UseSMPAssign_v =
303 return (*
left_) * (*right_);
312 inline auto load() const noexcept {
441 ( MT1::simdEnabled && MT2::simdEnabled && HasSIMDMult_v<ET1,ET2> );
490 if( i >=
lhs_.rows() ) {
493 if( j >=
lhs_.columns() ) {
512 return lhs_.load(i,j) *
rhs_.load(i,j);
543 inline size_t rows() const noexcept {
554 return lhs_.columns();
584 template<
typename T >
585 inline bool canAlias(
const T* alias )
const noexcept {
586 return ( IsExpression_v<MT1> && ( RequiresEvaluation_v<MT1> ?
lhs_.isAliased( alias ) :
lhs_.canAlias( alias ) ) ) ||
587 ( IsExpression_v<MT2> && ( RequiresEvaluation_v<MT2> ?
rhs_.isAliased( alias ) :
rhs_.canAlias( alias ) ) );
597 template<
typename T >
598 inline bool isAliased(
const T* alias )
const noexcept {
599 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
609 return lhs_.isAligned() &&
rhs_.isAligned();
619 return lhs_.canSMPAssign() ||
rhs_.canSMPAssign() ||
620 (
rows() *
columns() >= SMP_DMATDMATSCHUR_THRESHOLD );
645 template<
typename MT
655 if( !IsOperation_v<MT1> &&
isSame( ~lhs, rhs.lhs_ ) ) {
656 schurAssign( ~lhs, rhs.rhs_ );
661 assign( ~lhs, A % B );
681 template<
typename MT
691 if( !IsOperation_v<MT1> &&
isSame( ~lhs, rhs.lhs_ ) ) {
692 schurAssign( ~lhs, rhs.rhs_ );
694 else if( !IsOperation_v<MT2> &&
isSame( ~lhs, rhs.rhs_ ) ) {
695 schurAssign( ~lhs, rhs.lhs_ );
697 else if( !RequiresEvaluation_v<MT2> ) {
698 assign ( ~lhs, rhs.rhs_ );
699 schurAssign( ~lhs, rhs.lhs_ );
702 assign ( ~lhs, rhs.lhs_ );
703 schurAssign( ~lhs, rhs.rhs_ );
723 template<
typename MT
725 friend inline auto assign( SparseMatrix<MT,SO2>& lhs,
const DMatDMatSchurExpr& rhs )
726 -> EnableIf_t< UseAssign_v<MT> >
730 using TmpType = If_t< SO == SO2, ResultType, OppositeType >;
742 const TmpType tmp(
serial( rhs ) );
762 template<
typename MT
764 friend inline auto addAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatSchurExpr& rhs )
765 -> EnableIf_t< UseAssign_v<MT> >
777 addAssign( ~lhs, tmp );
800 template<
typename MT
802 friend inline auto subAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatSchurExpr& rhs )
803 -> EnableIf_t< UseAssign_v<MT> >
815 subAssign( ~lhs, tmp );
839 template<
typename MT
841 friend inline auto schurAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatSchurExpr& rhs )
842 -> EnableIf_t< UseAssign_v<MT> && !IsCommutative_v<MT1,MT2> >
854 schurAssign( ~lhs, tmp );
874 template<
typename MT
876 friend inline auto schurAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatSchurExpr& rhs )
877 -> EnableIf_t< UseAssign_v<MT> && IsCommutative_v<MT1,MT2> >
884 if( !RequiresEvaluation_v<MT2> ) {
885 schurAssign( ~lhs, rhs.rhs_ );
886 schurAssign( ~lhs, rhs.lhs_ );
889 schurAssign( ~lhs, rhs.lhs_ );
890 schurAssign( ~lhs, rhs.rhs_ );
923 template<
typename MT
926 -> EnableIf_t< UseSMPAssign_v<MT> && !IsCommutative_v<MT1,MT2> >
933 if( !IsOperation_v<MT1> &&
isSame( ~lhs, rhs.lhs_ ) ) {
960 template<
typename MT
963 -> EnableIf_t< UseSMPAssign_v<MT> && IsCommutative_v<MT1,MT2> >
970 if( !IsOperation_v<MT1> &&
isSame( ~lhs, rhs.lhs_ ) ) {
973 else if( !IsOperation_v<MT2> &&
isSame( ~lhs, rhs.rhs_ ) ) {
976 else if( !RequiresEvaluation_v<MT2> ) {
1002 template<
typename MT
1005 -> EnableIf_t< UseSMPAssign_v<MT> >
1009 using TmpType = If_t< SO == SO2, ResultType, OppositeType >;
1021 const TmpType tmp( rhs );
1041 template<
typename MT
1044 -> EnableIf_t< UseAssign_v<MT> >
1080 template<
typename MT
1083 -> EnableIf_t< UseSMPAssign_v<MT> >
1119 template<
typename MT
1122 -> EnableIf_t< UseSMPAssign_v<MT> && !IsCommutative_v<MT1,MT2> >
1154 template<
typename MT
1157 -> EnableIf_t< UseSMPAssign_v<MT> && IsCommutative_v<MT1,MT2> >
1164 if( !RequiresEvaluation_v<MT2> ) {
1220 template<
typename MT1
1223 , DisableIf_t< ( IsUniLower_v<MT1> && IsUniUpper_v<MT2> ) ||
1224 ( IsUniUpper_v<MT1> && IsUniLower_v<MT2> ) ||
1225 ( IsStrictlyLower_v<MT1> && IsUpper_v<MT2> ) ||
1226 ( IsStrictlyUpper_v<MT1> && IsLower_v<MT2> ) ||
1227 ( IsLower_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
1228 ( IsUpper_v<MT1> && IsStrictlyLower_v<MT2> ) >* =
nullptr >
1229 inline const DMatDMatSchurExpr<MT1,MT2,SO>
1230 dmatdmatschur(
const DenseMatrix<MT1,SO>& lhs,
const DenseMatrix<MT2,SO>& rhs )
1237 return DMatDMatSchurExpr<MT1,MT2,SO>( ~lhs, ~rhs );
1256 template<
typename MT1
1259 , EnableIf_t< ( IsUniLower_v<MT1> && IsUniUpper_v<MT2> ) ||
1260 ( IsUniUpper_v<MT1> && IsUniLower_v<MT2> ) >* =
nullptr >
1261 inline decltype(
auto)
1262 dmatdmatschur( const DenseMatrix<MT1,SO>& lhs, const DenseMatrix<MT2,SO>& rhs )
1271 using ReturnType =
const SchurTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1295 template<
typename MT1
1298 , EnableIf_t< ( IsStrictlyLower_v<MT1> && IsUpper_v<MT2> ) ||
1299 ( IsStrictlyUpper_v<MT1> && IsLower_v<MT2> ) ||
1300 ( IsLower_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
1301 ( IsUpper_v<MT1> && IsStrictlyLower_v<MT2> ) >* =
nullptr >
1302 inline decltype(
auto)
1303 dmatdmatschur( const DenseMatrix<MT1,SO>& lhs, const DenseMatrix<MT2,SO>& rhs )
1312 using ReturnType =
const SchurTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1348 template<
typename MT1
1351 inline decltype(
auto)
1360 return dmatdmatschur( ~lhs, ~rhs );
1375 template<
typename MT1,
typename MT2,
bool SO >
1376 struct IsAligned< DMatDMatSchurExpr<MT1,MT2,SO> >
1377 :
public BoolConstant< IsAligned_v<MT1> && IsAligned_v<MT2> >
1393 template<
typename MT1,
typename MT2,
bool SO >
1394 struct IsPadded< DMatDMatSchurExpr<MT1,MT2,SO> >
1395 :
public BoolConstant< IsPadded_v<MT1> && IsPadded_v<MT2> >
Constraint on the data type.
ReturnType_t< MT1 > RN1
Return type of the left-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:113
CompositeType_t< MT1 > CT1
Composite type of the left-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:115
#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.
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: DMatDMatSchurExpr.h:543
RightIteratorType right_
Iterator to the current right-hand side element.
Definition: DMatDMatSchurExpr.h:433
Header file for auxiliary alias declarations.
#define BLAZE_CONSTRAINT_MUST_BE_IDENTITY_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not an identity matrix type...
Definition: Identity.h:60
Header file for the Schur product trait.
Header file for the UNUSED_PARAMETER function template.
Header file for the IsUniUpper type trait.
ResultType_t< MT2 > RT2
Result type of the right-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:112
bool isSame(const Matrix< MT1, SO1 > &a, const Matrix< MT2, SO2 > &b) noexcept
Returns whether the two given matrices represent the same observable state.
Definition: Matrix.h:992
Header file for basic type definitions.
typename If< Condition, T1, T2 >::Type If_t
Auxiliary alias declaration for the If class template.The If_t alias declaration provides a convenien...
Definition: If.h:109
typename T::ResultType ResultType_t
Alias declaration for nested ResultType type definitions.The ResultType_t alias declaration provides ...
Definition: Aliases.h:390
Header file for the IsCommutative type trait.
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
friend const ConstIterator operator+(size_t inc, const ConstIterator &it)
Addition between an integral value and a ConstIterator.
Definition: DMatDMatSchurExpr.h:413
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: DMatDMatSchurExpr.h:474
#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
bool operator<=(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DMatDMatSchurExpr.h:367
static constexpr bool smpAssignable
Compilation flag for SMP assignments.
Definition: CompressedMatrix.h:3113
decltype(std::declval< RN1 >() *std::declval< RN2 >()) ExprReturnType
Expression return type for the subscript operator.
Definition: DMatDMatSchurExpr.h:131
Constraint on the data type.
Header file for the Computation base class.
static constexpr bool returnExpr
Compilation switch for the selection of the subscript operator return type.
Definition: DMatDMatSchurExpr.h:128
Header file for the RequiresEvaluation type trait.
constexpr void UNUSED_PARAMETER(const Args &...)
Suppression of unused parameter warnings.
Definition: Unused.h:81
typename T::ReturnType ReturnType_t
Alias declaration for nested ReturnType type definitions.The ReturnType_t alias declaration provides ...
Definition: Aliases.h:410
Header file for the IsUniLower type trait.
#define BLAZE_CONSTRAINT_MUST_FORM_VALID_SCHUREXPR(T1, T2)
Constraint on the data type.In case the given data types T1 and T2 do not form a valid matrix/matrix ...
Definition: SchurExpr.h:103
constexpr size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:514
CompositeType_t< MT2 > CT2
Composite type of the right-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:116
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes...
Definition: DenseMatrix.h:80
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.The ElementType_t alias declaration provide...
Definition: Aliases.h:170
Header file for all forward declarations for sparse vectors and matrices.
ElementType_t< MT1 > ET1
Element type of the left-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:117
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: DMatDMatSchurExpr.h:553
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition: DMatDMatSchurExpr.h:489
TransposeType_t< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition: DMatDMatSchurExpr.h:172
ConstIterator & operator--()
Pre-decrement operator.
Definition: DMatDMatSchurExpr.h:280
Constraint on the data type.
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.The EnableIf_t alias declaration provides a convenient...
Definition: EnableIf.h:138
ptrdiff_t DifferenceType
Difference between two iterators.
Definition: DMatDMatSchurExpr.h:199
const If_t< returnExpr, ExprReturnType, ElementType > ReturnType
Return type for expression template evaluations.
Definition: DMatDMatSchurExpr.h:176
bool operator>(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DMatDMatSchurExpr.h:356
DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two iterators.
Definition: DMatDMatSchurExpr.h:389
Header file for the DisableIf class template.
Header file for the IsTemporary type trait class.
IteratorCategory iterator_category
The iterator category.
Definition: DMatDMatSchurExpr.h:202
Header file for the IsStrictlyUpper type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the If class template.
ReturnType operator*() const
Direct access to the element at the current iterator position.
Definition: DMatDMatSchurExpr.h:302
ElementType * PointerType
Pointer return type.
Definition: DMatDMatSchurExpr.h:197
static constexpr bool simdEnabled
Compilation switch for the expression template evaluation strategy.
Definition: DMatDMatSchurExpr.h:440
#define BLAZE_CONSTRAINT_MUST_BE_ZERO_TYPE(T)
Constraint on the data type.In case the given data type T is not a zero vector or matrix type...
Definition: Zero.h:61
#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.
ElementType_t< ResultType > ElementType
Resulting element type.
Definition: DMatDMatSchurExpr.h:173
PointerType pointer
Pointer return type.
Definition: DMatDMatSchurExpr.h:204
const Element * ConstIterator
Iterator over constant elements.
Definition: CompressedMatrix.h:3086
bool operator<(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DMatDMatSchurExpr.h:345
Header file for all SIMD functionality.
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition: DMatDMatSchurExpr.h:598
Header file for the IsOperation type trait class.
Header file for the IsLower type trait.
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row i.
Definition: DMatDMatSchurExpr.h:522
Header file for the IsAligned type trait.
ReferenceType reference
Reference return type.
Definition: DMatDMatSchurExpr.h:205
If_t< useAssign, const ResultType, const DMatDMatSchurExpr &> CompositeType
Data type for composite expression templates.
Definition: DMatDMatSchurExpr.h:179
bool operator>=(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DMatDMatSchurExpr.h:378
Constraints on the storage order of matrix types.
ElementType & ReferenceType
Reference return type.
Definition: DMatDMatSchurExpr.h:198
Header file for the exception macros of the math module.
friend const ConstIterator operator+(const ConstIterator &it, size_t inc)
Addition between a ConstIterator and an integral value.
Definition: DMatDMatSchurExpr.h:401
Constraint on the data type.
ConstIterator_t< MT1 > LeftIteratorType
ConstIterator type of the left-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:209
Expression object for dense matrix-dense matrix Schur products.The DMatDMatSchurExpr class represents...
Definition: DMatDMatSchurExpr.h:105
Header file for all forward declarations for expression class templates.
ConstIterator_t< MT2 > RightIteratorType
ConstIterator type of the right-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:212
Header file for the EnableIf class template.
Header file for the IsStrictlyLower type trait.
Header file for the IsPadded type trait.
static constexpr bool smpAssignable
Compilation switch for the expression template assignment strategy.
Definition: DMatDMatSchurExpr.h:444
typename T::OppositeType OppositeType_t
Alias declaration for nested OppositeType type definitions.The OppositeType_t alias declaration provi...
Definition: Aliases.h:270
SchurTrait_t< RT1, RT2 > ResultType
Result type for expression template evaluations.
Definition: DMatDMatSchurExpr.h:170
ReturnType_t< MT2 > RN2
Return type of the right-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:114
ConstIterator & operator+=(size_t inc)
Addition assignment operator.
Definition: DMatDMatSchurExpr.h:233
Header file for the HasSIMDMult type trait.
Base class for all Schur product expression templates.The SchurExpr class serves as a tag for all exp...
Definition: SchurExpr.h:66
typename T::TransposeType TransposeType_t
Alias declaration for nested TransposeType type definitions.The TransposeType_t alias declaration pro...
Definition: Aliases.h:470
Header file for run time assertion macros.
const ConstIterator operator--(int)
Post-decrement operator.
Definition: DMatDMatSchurExpr.h:292
ConstIterator & operator++()
Pre-increment operator.
Definition: DMatDMatSchurExpr.h:258
typename T::CompositeType CompositeType_t
Alias declaration for nested CompositeType type definitions.The CompositeType_t alias declaration pro...
Definition: Aliases.h:90
static constexpr bool useAssign
Compilation switch for the serial evaluation strategy of the Schur product expression.
Definition: DMatDMatSchurExpr.h:142
static constexpr size_t SIMDSIZE
The number of elements packed within a single SIMD element.
Definition: DMatDMatSchurExpr.h:449
auto smpAddAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs) -> EnableIf_t< IsDenseMatrix_v< MT1 > >
Default implementation of the SMP addition assignment of a matrix to a dense matrix.
Definition: DenseMatrix.h:131
const ConstIterator operator++(int)
Post-increment operator.
Definition: DMatDMatSchurExpr.h:270
std::random_access_iterator_tag IteratorCategory
The iterator category.
Definition: DMatDMatSchurExpr.h:195
Header file for the SchurExpr base class.
typename SchurTrait< T1, T2 >::Type SchurTrait_t
Auxiliary alias declaration for the SchurTrait class template.The SchurTrait_t alias declaration prov...
Definition: SchurTrait.h:164
ValueType value_type
Type of the underlying elements.
Definition: DMatDMatSchurExpr.h:203
SIMD characteristics of data types.The SIMDTrait class template provides the SIMD characteristics of ...
Definition: SIMDTrait.h:295
#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
LeftOperand lhs_
Left-hand side dense matrix of the Schur product expression.
Definition: DMatDMatSchurExpr.h:626
ConstIterator & operator-=(size_t dec)
Subtraction assignment operator.
Definition: DMatDMatSchurExpr.h:246
bool canSMPAssign() const noexcept
Returns whether the expression can be used in SMP assignments.
Definition: DMatDMatSchurExpr.h:618
auto smpAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs) -> EnableIf_t< IsDenseMatrix_v< MT1 > >
Default implementation of the SMP assignment of a matrix to a dense matrix.
Definition: DenseMatrix.h:100
ElementType_t< MT2 > ET2
Element type of the right-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:118
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:808
#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
ElementType ValueType
Type of the underlying elements.
Definition: DMatDMatSchurExpr.h:196
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.The BoolConstant class template represents ...
Definition: IntegralConstant.h:101
auto smpSchurAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs) -> EnableIf_t< IsDenseMatrix_v< MT1 > >
Default implementation of the SMP Schur product assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:194
constexpr size_t rows(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of rows of the matrix.
Definition: Matrix.h:498
#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
BLAZE_ALWAYS_INLINE auto load(size_t i, size_t j) const noexcept
Access to the SIMD elements of the matrix.
Definition: DMatDMatSchurExpr.h:507
If_t< IsExpression_v< MT2 >, const MT2, const MT2 &> RightOperand
Composite type of the right-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:185
typename T::ConstIterator ConstIterator_t
Alias declaration for nested ConstIterator type definitions.The ConstIterator_t alias declaration pro...
Definition: Aliases.h:110
const Type & ReturnType
Return type for expression template evaluations.
Definition: CompressedMatrix.h:3081
bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition: DMatDMatSchurExpr.h:334
bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition: DMatDMatSchurExpr.h:323
LeftOperand leftOperand() const noexcept
Returns the left-hand side dense matrix operand.
Definition: DMatDMatSchurExpr.h:563
Iterator over the elements of the dense matrix.
Definition: DMatDMatSchurExpr.h:191
auto smpSubAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs) -> EnableIf_t< IsDenseMatrix_v< MT1 > >
Default implementation of the SMP subtraction assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:162
Base class for all compute expression templates.The Computation class serves as a tag for all computa...
Definition: Computation.h:66
ConstIterator(LeftIteratorType left, RightIteratorType right)
Constructor for the ConstIterator class.
Definition: DMatDMatSchurExpr.h:221
ResultType_t< MT1 > RT1
Result type of the left-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:111
Header file for the IntegralConstant class template.
friend const ConstIterator operator-(const ConstIterator &it, size_t dec)
Subtraction between a ConstIterator and an integral value.
Definition: DMatDMatSchurExpr.h:425
If_t< IsExpression_v< MT1 >, const MT1, const MT1 &> LeftOperand
Composite type of the left-hand side dense matrix expression.
Definition: DMatDMatSchurExpr.h:182
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row i.
Definition: DMatDMatSchurExpr.h:533
auto load() const noexcept
Access to the SIMD elements of the matrix.
Definition: DMatDMatSchurExpr.h:312
OppositeType_t< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: DMatDMatSchurExpr.h:171
RightOperand rhs_
Right-hand side dense matrix of the Schur product expression.
Definition: DMatDMatSchurExpr.h:627
Header file for the IsUpper type trait.
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition: DMatDMatSchurExpr.h:585
DMatDMatSchurExpr(const MT1 &lhs, const MT2 &rhs) noexcept
Constructor for the DMatDMatSchurExpr class.
Definition: DMatDMatSchurExpr.h:458
System settings for the inline keywords.
Header file for the thresholds for matrix/vector and matrix/matrix multiplications.
#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
Header file for the IsExpression type trait class.
Header file for the function trace functionality.
RightOperand rightOperand() const noexcept
Returns the right-hand side dense matrix operand.
Definition: DMatDMatSchurExpr.h:573
bool isAligned() const noexcept
Returns whether the operands of the expression are properly aligned in memory.
Definition: DMatDMatSchurExpr.h:608
LeftIteratorType left_
Iterator to the current left-hand side element.
Definition: DMatDMatSchurExpr.h:432
Constraint on the data type.