35 #ifndef _BLAZE_MATH_EXPRESSIONS_DMATTDMATMAPEXPR_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_DMATTDMATMAPEXPR_H_ 104 template<
typename MT1
108 :
public MatMatMapExpr< DenseMatrix< DMatTDMatMapExpr<MT1,MT2,OP>, false > >
134 template<
typename MT >
137 enum :
bool { value = useAssign };
150 template<
typename MT >
151 struct UseSMPAssign {
152 enum :
bool { value = ( !MT1::smpAssignable || !MT2::smpAssignable ) && useAssign };
166 using ReturnType = decltype( std::declval<OP>()( std::declval<RN1>(), std::declval<RN2>() ) );
189 enum :
bool { simdEnabled =
false };
192 enum :
bool { smpAssignable = MT1::smpAssignable && MT2::smpAssignable };
232 if( i >=
lhs_.rows() ) {
235 if( j >=
lhs_.columns() ) {
247 inline size_t rows() const noexcept {
258 return lhs_.columns();
298 template<
typename T >
299 inline bool canAlias(
const T* alias )
const noexcept {
311 template<
typename T >
312 inline bool isAliased(
const T* alias )
const noexcept {
313 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
323 return lhs_.isAligned() &&
rhs_.isAligned();
333 return lhs_.canSMPAssign() &&
rhs_.canSMPAssign();
358 template<
typename MT
368 constexpr
size_t block( BLOCK_SIZE );
370 const size_t m( rhs.
rows() );
371 const size_t n( rhs.
columns() );
373 for(
size_t ii=0UL; ii<m; ii+=block ) {
374 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
375 for(
size_t jj=0UL; jj<n; jj+=block ) {
376 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
377 for(
size_t i=ii; i<iend; ++i ) {
378 for(
size_t j=jj; j<jend; ++j ) {
379 (~lhs)(i,j) = rhs.
op_( rhs.
lhs_(i,j), rhs.
rhs_(i,j) );
402 template<
typename MT
422 assign( ~lhs,
map( A, B, rhs.
op_ ) );
441 template<
typename MT
460 const TmpType tmp(
serial( rhs ) );
480 template<
typename MT
490 constexpr
size_t block( BLOCK_SIZE );
492 const size_t m( rhs.
rows() );
493 const size_t n( rhs.
columns() );
495 for(
size_t ii=0UL; ii<m; ii+=block ) {
496 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
497 for(
size_t jj=0UL; jj<n; jj+=block ) {
498 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
499 for(
size_t i=ii; i<iend; ++i ) {
500 for(
size_t j=jj; j<jend; ++j ) {
501 (~lhs)(i,j) += rhs.
op_( rhs.
lhs_(i,j), rhs.
rhs_(i,j) );
524 template<
typename MT
544 addAssign( ~lhs,
map( A, B, rhs.
op_ ) );
567 template<
typename MT
577 constexpr
size_t block( BLOCK_SIZE );
579 const size_t m( rhs.
rows() );
580 const size_t n( rhs.
columns() );
582 for(
size_t ii=0UL; ii<m; ii+=block ) {
583 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
584 for(
size_t jj=0UL; jj<n; jj+=block ) {
585 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
586 for(
size_t i=ii; i<iend; ++i ) {
587 for(
size_t j=jj; j<jend; ++j ) {
588 (~lhs)(i,j) -= rhs.
op_( rhs.
lhs_(i,j), rhs.
rhs_(i,j) );
611 template<
typename MT
631 subAssign( ~lhs,
map( A, B, rhs.
op_ ) );
654 template<
typename MT
664 constexpr
size_t block( BLOCK_SIZE );
666 const size_t m( rhs.
rows() );
667 const size_t n( rhs.
columns() );
669 for(
size_t ii=0UL; ii<m; ii+=block ) {
670 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
671 for(
size_t jj=0UL; jj<n; jj+=block ) {
672 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
673 for(
size_t i=ii; i<iend; ++i ) {
674 for(
size_t j=jj; j<jend; ++j ) {
675 (~lhs)(i,j) *= rhs.
op_( rhs.
lhs_(i,j), rhs.
rhs_(i,j) );
698 template<
typename MT
718 schurAssign( ~lhs,
map( A, B, rhs.
op_ ) );
749 template<
typename MT
788 template<
typename MT
807 const TmpType tmp( rhs );
828 template<
typename MT
872 template<
typename MT
916 template<
typename MT
986 template<
typename MT1
1018 template<
typename MT1
1021 inline decltype(
auto)
1030 return map(
trans( ~lhs ), ~rhs, op );
1051 template<
typename MT1
1054 inline decltype(
auto)
1063 return map( ~lhs,
trans( ~rhs ), op );
1094 template<
typename MT1
1097 inline decltype(
auto)
1106 return map_backend( ~lhs, ~rhs, op );
1125 template<
typename MT1
1157 template<
typename MT1
1160 inline decltype(
auto)
1169 return map( ~lhs,
trans( ~rhs ), op );
1190 template<
typename MT1
1193 inline decltype(
auto)
1202 return map(
trans( ~lhs ), ~rhs, op );
1233 template<
typename MT1
1236 inline decltype(
auto)
1245 return map_backend( ~lhs, ~rhs, op );
1260 template<
typename MT1,
typename MT2,
typename OP >
1261 struct Rows< DMatTDMatMapExpr<MT1,MT2,OP> >
1262 :
public Maximum< Rows<MT1>, Rows<MT2> >
1278 template<
typename MT1,
typename MT2,
typename OP >
1279 struct Columns< DMatTDMatMapExpr<MT1,MT2,OP> >
1280 :
public Maximum< Columns<MT1>, Columns<MT2> >
1296 template<
typename MT1,
typename MT2,
typename OP >
1297 struct IsAligned< DMatTDMatMapExpr<MT1,MT2,OP> >
1298 :
public BoolConstant< And< IsAligned<MT1>, IsAligned<MT2> >::value >
1314 template<
typename MT1,
typename MT2,
typename OP >
1315 struct IsPadded< DMatTDMatMapExpr<MT1,MT2,OP> >
1316 :
public BoolConstant< And< IsPadded<MT1>, IsPadded<MT2> >::value >
1332 template<
typename MT1,
typename MT2 >
1333 struct IsSymmetric< DMatTDMatMapExpr<MT1,MT2,Min> >
1334 :
public BoolConstant< And< IsSymmetric<MT1>, IsSymmetric<MT2> >::value >
1337 template<
typename MT1,
typename MT2 >
1338 struct IsSymmetric< DMatTDMatMapExpr<MT1,MT2,Max> >
1339 :
public BoolConstant< And< IsSymmetric<MT1>, IsSymmetric<MT2> >::value >
1355 template<
typename MT1,
typename MT2 >
1356 struct IsHermitian< DMatTDMatMapExpr<MT1,MT2,Min> >
1357 :
public BoolConstant< And< IsHermitian<MT1>, IsHermitian<MT2> >::value >
1360 template<
typename MT1,
typename MT2 >
1361 struct IsHermitian< DMatTDMatMapExpr<MT1,MT2,Max> >
1362 :
public BoolConstant< And< IsHermitian<MT1>, IsHermitian<MT2> >::value >
1378 template<
typename MT1,
typename MT2 >
1379 struct IsLower< DMatTDMatMapExpr<MT1,MT2,Min> >
1380 :
public BoolConstant< And< IsLower<MT1>, IsLower<MT2> >::value >
1383 template<
typename MT1,
typename MT2 >
1384 struct IsLower< DMatTDMatMapExpr<MT1,MT2,Max> >
1385 :
public BoolConstant< And< IsLower<MT1>, IsLower<MT2> >::value >
1401 template<
typename MT1,
typename MT2 >
1402 struct IsUniLower< DMatTDMatMapExpr<MT1,MT2,Min> >
1403 :
public BoolConstant< And< IsUniLower<MT1>, IsUniLower<MT2> >::value >
1406 template<
typename MT1,
typename MT2 >
1407 struct IsUniLower< DMatTDMatMapExpr<MT1,MT2,Max> >
1408 :
public BoolConstant< And< IsUniLower<MT1>, IsUniLower<MT2> >::value >
1424 template<
typename MT1,
typename MT2 >
1426 :
public BoolConstant< And< IsStrictlyLower<MT1>, IsStrictlyLower<MT2> >::value >
1429 template<
typename MT1,
typename MT2 >
1431 :
public BoolConstant< And< IsStrictlyLower<MT1>, IsStrictlyLower<MT2> >::value >
1447 template<
typename MT1,
typename MT2 >
1448 struct IsUpper< DMatTDMatMapExpr<MT1,MT2,Min> >
1449 :
public BoolConstant< And< IsUpper<MT1>, IsUpper<MT2> >::value >
1452 template<
typename MT1,
typename MT2 >
1453 struct IsUpper< DMatTDMatMapExpr<MT1,MT2,Max> >
1454 :
public BoolConstant< And< IsUpper<MT1>, IsUpper<MT2> >::value >
1470 template<
typename MT1,
typename MT2 >
1471 struct IsUniUpper< DMatTDMatMapExpr<MT1,MT2,Min> >
1472 :
public BoolConstant< And< IsUniUpper<MT1>, IsUniUpper<MT2> >::value >
1475 template<
typename MT1,
typename MT2 >
1476 struct IsUniUpper< DMatTDMatMapExpr<MT1,MT2,Max> >
1477 :
public BoolConstant< And< IsUniUpper<MT1>, IsUniUpper<MT2> >::value >
1493 template<
typename MT1,
typename MT2 >
1495 :
public BoolConstant< And< IsStrictlyUpper<MT1>, IsStrictlyUpper<MT2> >::value >
1498 template<
typename MT1,
typename MT2 >
1500 :
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
Header file for auxiliary alias declarations.
Header file for kernel specific block sizes.
Base class for all binary matrix map expression templates.The MatMatMapExpr class serves as a tag for...
Definition: MatMatMapExpr.h:66
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: DMatTDMatMapExpr.h:287
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
Header file for the serial shim.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
#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
RightOperand rhs_
Right-hand side dense matrix of the map expression.
Definition: DMatTDMatMapExpr.h:340
typename BinaryMapTrait< T1, T2, OP >::Type BinaryMapTrait_
Auxiliary alias declaration for the BinaryMapTrait class template.The BinaryMapTrait_ alias declarati...
Definition: BinaryMapTrait.h:161
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: DMatTDMatMapExpr.h:247
Operation op_
The custom unary operation.
Definition: DMatTDMatMapExpr.h:341
typename DisableIf< Condition, T >::Type DisableIf_
Auxiliary type for the DisableIf class template.The DisableIf_ alias declaration provides a convenien...
Definition: DisableIf.h:224
Header file for the And class template.
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
Header file for the Computation base class.
ResultType_< MT2 > RT2
Result type of the right-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:114
Compile time check for upper triangular matrices.This type trait tests whether or not the given templ...
Definition: IsUpper.h:88
CompositeType_< MT1 > CT1
Composite type of the left-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:119
Constraints on the storage order of matrix types.
Header file for the RequiresEvaluation type trait.
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
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
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
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
typename T::ReturnType ReturnType_
Alias declaration for nested ReturnType type definitions.The ReturnType_ alias declaration provides a...
Definition: Aliases.h:363
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
bool isAligned() const noexcept
Returns whether the operands of the expression are properly aligned in memory.
Definition: DMatTDMatMapExpr.h:322
Compile time check for upper unitriangular matrices.This type trait tests whether or not the given te...
Definition: IsUniUpper.h:86
DMatTDMatMapExpr(const MT1 &lhs, const MT2 &rhs, OP op) noexcept
Constructor for the DMatTDMatMapExpr class.
Definition: DMatTDMatMapExpr.h:202
Header file for the DisableIf class template.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
#define BLAZE_CONSTRAINT_MUST_BE_COLUMN_MAJOR_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a column-major dense or sparse matri...
Definition: ColumnMajorMatrix.h:61
bool canSMPAssign() const noexcept
Returns whether the expression can be used in SMP assignments.
Definition: DMatTDMatMapExpr.h:332
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition: DMatTDMatMapExpr.h:299
CompositeType_< MT2 > CT2
Composite type of the right-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:120
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.
Header file for the Columns type trait.
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: DMatTDMatMapExpr.h:257
TransposeType_< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition: DMatTDMatMapExpr.h:162
Header file for the Not class template.
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.
Header file for the IsLower type trait.
Header file for the IsAligned type trait.
Constraints on the storage order of matrix types.
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.
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.
#define BLAZE_CONSTRAINT_MATRICES_MUST_HAVE_DIFFERENT_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:106
Expression object for the dense matrix/tranpose dense matrix map() function.The DMatTDMatMapExpr clas...
Definition: DMatTDMatMapExpr.h:107
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: DMatTDMatMapExpr.h:231
If_< IsExpression< MT1 >, const MT1, const MT1 &> LeftOperand
Composite type of the left-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:172
#define BLAZE_CONSTRAINT_MUST_BE_ROW_MAJOR_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a row-major dense or sparse matrix t...
Definition: RowMajorMatrix.h:61
Header file for the binary map trait.
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: DMatTDMatMapExpr.h:216
Header file for run time assertion macros.
OppositeType_< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: DMatTDMatMapExpr.h:161
ResultType_< MT1 > RT1
Result type of the left-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:113
BinaryMapTrait_< RT1, RT2, OP > ResultType
Result type for expression template evaluations.
Definition: DMatTDMatMapExpr.h:160
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
ElementType_< MT1 > ET1
Element type of the left-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:115
ReturnType_< MT1 > RN1
Return type of the left-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:117
#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
Compile time type negation.The Not alias declaration negates the given compile time condition...
Definition: Not.h:70
LeftOperand leftOperand() const noexcept
Returns the left-hand side dense matrix operand.
Definition: DMatTDMatMapExpr.h:267
Compile time check for Hermitian matrices.This type trait tests whether or not the given template par...
Definition: IsHermitian.h:85
RightOperand rightOperand() const noexcept
Returns the right-hand side dense matrix operand.
Definition: DMatTDMatMapExpr.h:277
Constraints on the storage order of matrix types.
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:819
LeftOperand lhs_
Left-hand side dense matrix of the map expression.
Definition: DMatTDMatMapExpr.h:339
#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_< MT2 > ET2
Element type of the right-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:116
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
OP Operation
Data type of the custom unary operation.
Definition: DMatTDMatMapExpr.h:178
decltype(std::declval< OP >()(std::declval< RN1 >(), std::declval< RN2 >())) ReturnType
Return type for expression template evaluations.
Definition: DMatTDMatMapExpr.h:166
Header file for the Min functor.
If_< RequiresEvaluation< MT2 >, const RT2, CT2 > RT
Type for the assignment of the right-hand side dense matrix operand.
Definition: DMatTDMatMapExpr.h:184
IfTrue_< useAssign, const ResultType, const DMatTDMatMapExpr &> CompositeType
Data type for composite expression templates.
Definition: DMatTDMatMapExpr.h:169
Compile time check for strictly lower triangular matrices.This type trait tests whether or not the gi...
Definition: IsStrictlyLower.h:86
decltype(auto) trans(const DenseMatrix< MT, SO > &dm)
Calculation of the transpose of the given dense matrix.
Definition: DMatTransExpr.h:790
Header file for the MatMatMapExpr base class.
Base class for all compute expression templates.The Computation class serves as a tag for all computa...
Definition: Computation.h:66
ElementType_< ResultType > ElementType
Resulting element type.
Definition: DMatTDMatMapExpr.h:163
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
Compile time logical and evaluation.The And alias declaration performs at compile time a logical and ...
Definition: And.h:76
Header file for the Max functor.
If_< IsExpression< MT2 >, const MT2, const MT2 &> RightOperand
Composite type of the right-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:175
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.
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition: DMatTDMatMapExpr.h:312
Header file for the IsHermitian type trait.
If_< RequiresEvaluation< MT1 >, const RT1, CT1 > LT
Type for the assignment of the left-hand side dense matrix operand.
Definition: DMatTDMatMapExpr.h:181
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
ReturnType_< MT2 > RN2
Return type of the right-hand side dense matrix expression.
Definition: DMatTDMatMapExpr.h:118
Compile time check whether the given type is an expression template.This type trait class tests wheth...
Definition: IsExpression.h:95
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