35#ifndef _BLAZE_MATH_EXPRESSIONS_DMATDMATMAPEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_DMATDMATMAPEXPR_H_
106template<
typename MT1
111 :
public MatMatMapExpr< DenseMatrix< DMatDMatMapExpr<MT1,MT2,OP,SO>, SO > >
134 static constexpr bool useAssign = ( RequiresEvaluation_v<MT1> || RequiresEvaluation_v<MT2> );
138 template<
typename MT >
139 static constexpr bool UseAssign_v =
useAssign;
151 template<
typename MT >
152 static constexpr bool UseSMPAssign_v =
153 ( ( !MT1::smpAssignable || !MT2::smpAssignable ) &&
useAssign );
171 using ReturnType =
decltype( std::declval<OP>()( std::declval<RN1>(), std::declval<RN2>() ) );
229 ,
op_ ( std::move(op) )
318 inline auto load() const noexcept {
448 ( MT1::simdEnabled && MT2::simdEnabled &&
452 static constexpr bool smpAssignable = ( MT1::smpAssignable && MT2::smpAssignable );
470 ,
op_ ( std::move(op) )
497 if( i >=
lhs_.rows() ) {
500 if( j >=
lhs_.columns() ) {
550 inline size_t rows() const noexcept {
561 return lhs_.columns();
601 template<
typename T >
602 inline bool canAlias(
const T* alias )
const noexcept {
603 return ( IsExpression_v<MT1> &&
lhs_.canAlias( alias ) ) ||
604 ( IsExpression_v<MT2> &&
rhs_.canAlias( alias ) );
614 template<
typename T >
615 inline bool isAliased(
const T* alias )
const noexcept {
616 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
626 return lhs_.isAligned() &&
rhs_.isAligned();
636 return lhs_.canSMPAssign() &&
rhs_.canSMPAssign();
661 template<
typename MT
683 assign( *lhs,
map( A, B, rhs.op_ ) );
702 template<
typename MT
721 const TmpType tmp(
serial( rhs ) );
741 template<
typename MT
743 friend inline auto addAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatMapExpr& rhs )
744 -> EnableIf_t< UseAssign_v<MT> >
763 addAssign( *lhs,
map( A, B, rhs.op_ ) );
786 template<
typename MT
788 friend inline auto subAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatMapExpr& rhs )
789 -> EnableIf_t< UseAssign_v<MT> >
808 subAssign( *lhs,
map( A, B, rhs.op_ ) );
831 template<
typename MT
833 friend inline auto schurAssign( DenseMatrix<MT,SO2>& lhs,
const DMatDMatMapExpr& rhs )
834 -> EnableIf_t< UseAssign_v<MT> >
853 schurAssign( *lhs,
map( A, B, rhs.op_ ) );
884 template<
typename MT
887 -> EnableIf_t< UseSMPAssign_v<MT> >
925 template<
typename MT
928 -> EnableIf_t< UseSMPAssign_v<MT> >
932 using TmpType = If_t< SO == SO2, ResultType, OppositeType >;
944 const TmpType tmp( rhs );
965 template<
typename MT
968 -> EnableIf_t< UseSMPAssign_v<MT> >
1011 template<
typename MT
1014 -> EnableIf_t< UseSMPAssign_v<MT> >
1057 template<
typename MT
1060 -> EnableIf_t< UseSMPAssign_v<MT> >
1139template<
typename MT1
1143inline decltype(
auto)
1148 if( (*lhs).rows() != (*rhs).rows() || (*lhs).columns() != (*rhs).columns() ) {
1153 return ReturnType( *lhs, *rhs, std::move(op) );
1176template<
typename MT1
1181inline decltype(
auto)
1188 return map(
map(
map( *dm1, *dm2, mp ), *dm3, mp ),
join( std::move(op) ) );
1212template<
typename MT1
1218inline decltype(
auto)
1225 return map(
map(
map(
map( *dm1, *dm2, mp ), *dm3, mp ), *dm4, mp ),
join( std::move(op) ) );
1250template<
typename MT1
1257inline decltype(
auto)
1265 return map(
map(
map(
map(
map( *dm1, *dm2, mp ), *dm3, mp ), *dm4, mp ), *dm5, mp ),
join( std::move(op) ) );
1291template<
typename MT1
1299inline decltype(
auto)
1307 return map(
map(
map(
map(
map(
map( *dm1, *dm2, mp ), *dm3, mp ), *dm4, mp ), *dm5, mp ), *dm6, mp ),
join( std::move(op) ) );
1334template<
typename MT1
1338inline decltype(
auto)
1343 return map( *lhs, *rhs,
Min() );
1370template<
typename MT1
1374inline decltype(
auto)
1379 return map( *lhs, *rhs,
Max() );
1407template<
typename MT1
1411inline decltype(
auto)
1443template<
typename MT1
1447inline decltype(
auto)
1452 return map( *lhs, *rhs,
Pow() );
1479template<
typename MT1
1483inline decltype(
auto)
1523template<
typename MT1
1527inline decltype(
auto)
1532 return map( cond, lhs, rhs, [](
bool c,
const auto& a,
const auto& b ) {
return c ? a : b; } );
1565template<
typename MT1
1569inline decltype(
auto)
1599template<
typename MT1
1603inline decltype(
auto)
1633template<
typename MT1
1637inline decltype(
auto)
1667template<
typename MT1
1671inline decltype(
auto)
1701template<
typename MT1
1705inline decltype(
auto)
1737template<
typename MT1
1742inline decltype(
auto)
1743 operator<<(
const DMatDMatMapExpr<MT1,MT2,ShiftLV,SO1>& lhs,
const DenseMatrix<MT3,SO2>& rhs )
1747 return map( lhs.leftOperand(), lhs.rightOperand() + (*rhs), lhs.operation() );
1767template<
typename MT1
1772inline decltype(
auto)
1773 operator>>(
const DMatDMatMapExpr<MT1,MT2,ShiftRV,SO1>& lhs,
const DenseMatrix<MT3,SO2>& rhs )
1777 return map( lhs.leftOperand(), lhs.rightOperand() + (*rhs), lhs.operation() );
1811template<
typename MT1
1815inline decltype(
auto)
1820 return map( *lhs, *rhs,
And{} );
1845template<
typename MT1
1849inline decltype(
auto)
1854 return map( *lhs, *rhs,
Or{} );
1869template<
typename MT1,
typename MT2,
typename OP,
bool SO >
1870struct IsAligned< DMatDMatMapExpr<MT1,MT2,OP,SO> >
1871 :
public BoolConstant< IsAligned_v<MT1> && IsAligned_v<MT2> >
1887template<
typename MT1,
typename MT2,
typename OP,
bool SO >
1888struct IsPadded< DMatDMatMapExpr<MT1,MT2,OP,SO> >
1889 :
public BoolConstant< IsPadded_v<MT1> && IsPadded_v<MT2> && IsPaddingEnabled_v<OP> >
Header file for auxiliary alias declarations.
typename T::CompositeType CompositeType_t
Alias declaration for nested CompositeType type definitions.
Definition: Aliases.h:110
typename T::ReturnType ReturnType_t
Alias declaration for nested ReturnType type definitions.
Definition: Aliases.h:470
typename T::ResultType ResultType_t
Alias declaration for nested ResultType type definitions.
Definition: Aliases.h:450
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.
Definition: Aliases.h:190
typename T::OppositeType OppositeType_t
Alias declaration for nested OppositeType type definitions.
Definition: Aliases.h:310
typename T::ConstIterator ConstIterator_t
Alias declaration for nested ConstIterator type definitions.
Definition: Aliases.h:130
typename T::TransposeType TransposeType_t
Alias declaration for nested TransposeType type definitions.
Definition: Aliases.h:550
Header file for run time assertion macros.
Header file for the EnableIf class template.
Header file for the function trace functionality.
Header file for the HasLoad type trait.
Header file for the HasMember type traits.
Macro for CUDA compatibility.
Header file for the If class template.
Header file for the IntegralConstant class template.
Header file for the IsAligned type trait.
Header file for the IsExpression type trait class.
Header file for the IsMatrix type trait.
Header file for the IsPadded type trait.
Header file for the IsPaddingEnabled type trait.
Header file for the IsSIMDEnabled type trait.
Header file for the Join functor.
Header file for the MakePair functor.
Header file for the map trait.
Header file for all SIMD functionality.
Iterator over the elements of the dense matrix map expression.
Definition: DMatDMatMapExpr.h:196
IteratorCategory iterator_category
The iterator category.
Definition: DMatDMatMapExpr.h:206
BLAZE_DEVICE_CALLABLE DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two iterators.
Definition: DMatDMatMapExpr.h:395
BLAZE_DEVICE_CALLABLE bool operator<=(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:373
auto load() const noexcept
Access to the SIMD elements of the matrix.
Definition: DMatDMatMapExpr.h:318
BLAZE_DEVICE_CALLABLE ConstIterator & operator+=(size_t inc)
Addition assignment operator.
Definition: DMatDMatMapExpr.h:239
LeftIteratorType left_
Iterator to the current left-hand side element.
Definition: DMatDMatMapExpr.h:438
ConstIterator_t< MT1 > LeftIteratorType
ConstIterator type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:213
ReferenceType reference
Reference return type.
Definition: DMatDMatMapExpr.h:209
ptrdiff_t DifferenceType
Difference between two iterators.
Definition: DMatDMatMapExpr.h:203
std::random_access_iterator_tag IteratorCategory
The iterator category.
Definition: DMatDMatMapExpr.h:199
ConstIterator(LeftIteratorType left, RightIteratorType right, OP op)
Constructor for the ConstIterator class.
Definition: DMatDMatMapExpr.h:226
ReturnType operator*() const
Direct access to the element at the current iterator position.
Definition: DMatDMatMapExpr.h:308
ElementType * PointerType
Pointer return type.
Definition: DMatDMatMapExpr.h:201
BLAZE_DEVICE_CALLABLE ConstIterator & operator++()
Pre-increment operator.
Definition: DMatDMatMapExpr.h:264
PointerType pointer
Pointer return type.
Definition: DMatDMatMapExpr.h:208
BLAZE_DEVICE_CALLABLE bool operator<(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:351
friend const ConstIterator operator+(const ConstIterator &it, size_t inc)
Addition between a ConstIterator and an integral value.
Definition: DMatDMatMapExpr.h:407
ValueType value_type
Type of the underlying elements.
Definition: DMatDMatMapExpr.h:207
OP op_
The custom binary operation.
Definition: DMatDMatMapExpr.h:440
BLAZE_DEVICE_CALLABLE const ConstIterator operator--(int)
Post-decrement operator.
Definition: DMatDMatMapExpr.h:298
BLAZE_DEVICE_CALLABLE bool operator>(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:362
BLAZE_DEVICE_CALLABLE ConstIterator & operator--()
Pre-decrement operator.
Definition: DMatDMatMapExpr.h:286
ElementType ValueType
Type of the underlying elements.
Definition: DMatDMatMapExpr.h:200
friend const ConstIterator operator+(size_t inc, const ConstIterator &it)
Addition between an integral value and a ConstIterator.
Definition: DMatDMatMapExpr.h:419
RightIteratorType right_
Iterator to the current right-hand side element.
Definition: DMatDMatMapExpr.h:439
BLAZE_DEVICE_CALLABLE bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:340
BLAZE_DEVICE_CALLABLE bool operator>=(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:384
DifferenceType difference_type
Difference between two iterators.
Definition: DMatDMatMapExpr.h:210
ElementType & ReferenceType
Reference return type.
Definition: DMatDMatMapExpr.h:202
BLAZE_DEVICE_CALLABLE ConstIterator & operator-=(size_t dec)
Subtraction assignment operator.
Definition: DMatDMatMapExpr.h:252
ConstIterator_t< MT2 > RightIteratorType
ConstIterator type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:216
BLAZE_DEVICE_CALLABLE const ConstIterator operator++(int)
Post-increment operator.
Definition: DMatDMatMapExpr.h:276
friend BLAZE_DEVICE_CALLABLE const ConstIterator operator-(const ConstIterator &it, size_t dec)
Subtraction between a ConstIterator and an integral value.
Definition: DMatDMatMapExpr.h:431
BLAZE_DEVICE_CALLABLE bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition: DMatDMatMapExpr.h:329
Expression object for the dense matrix-dense matrix map() function.
Definition: DMatDMatMapExpr.h:113
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition: DMatDMatMapExpr.h:602
MapTrait_t< RT1, RT2, OP > ResultType
Result type for expression template evaluations.
Definition: DMatDMatMapExpr.h:165
static constexpr bool simdEnabled
Compilation switch for the expression template evaluation strategy.
Definition: DMatDMatMapExpr.h:447
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row/column i.
Definition: DMatDMatMapExpr.h:529
ResultType_t< MT1 > RT1
Result type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:116
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition: DMatDMatMapExpr.h:615
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: DMatDMatMapExpr.h:560
bool isAligned() const noexcept
Returns whether the operands of the expression are properly aligned in memory.
Definition: DMatDMatMapExpr.h:625
Operation op_
The custom binary operation.
Definition: DMatDMatMapExpr.h:644
ElementType_t< MT2 > ET2
Element type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:119
bool canSMPAssign() const noexcept
Returns whether the expression can be used in SMP assignments.
Definition: DMatDMatMapExpr.h:635
If_t< IsExpression_v< MT2 >, const MT2, const MT2 & > RightOperand
Composite type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:180
OppositeType_t< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: DMatDMatMapExpr.h:166
static constexpr size_t SIMDSIZE
The number of elements packed within a single SIMD element.
Definition: DMatDMatMapExpr.h:457
If_t< IsExpression_v< MT1 >, const MT1, const MT1 & > LeftOperand
Composite type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:177
If_t< RequiresEvaluation_v< MT1 >, const RT1, CT1 > LT
Type for the assignment of the left-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:186
CompositeType_t< MT2 > CT2
Composite type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:123
ResultType_t< MT2 > RT2
Result type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:117
LeftOperand lhs_
Left-hand side dense matrix of the map expression.
Definition: DMatDMatMapExpr.h:642
DMatDMatMapExpr(const MT1 &lhs, const MT2 &rhs, OP op) noexcept
Constructor for the DMatDMatMapExpr class.
Definition: DMatDMatMapExpr.h:467
static constexpr bool useAssign
Compilation switch for the serial evaluation strategy of the map expression.
Definition: DMatDMatMapExpr.h:134
ReturnType_t< MT1 > RN1
Return type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:120
TransposeType_t< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition: DMatDMatMapExpr.h:167
If_t< useAssign, const ResultType, const DMatDMatMapExpr & > CompositeType
Data type for composite expression templates.
Definition: DMatDMatMapExpr.h:174
Operation operation() const
Returns a copy of the custom operation.
Definition: DMatDMatMapExpr.h:590
LeftOperand leftOperand() const noexcept
Returns the left-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:570
RightOperand rhs_
Right-hand side dense matrix of the map expression.
Definition: DMatDMatMapExpr.h:643
RightOperand rightOperand() const noexcept
Returns the right-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:580
ReturnType_t< MT2 > RN2
Return type of the right-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:121
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row/column i.
Definition: DMatDMatMapExpr.h:540
CompositeType_t< MT1 > CT1
Composite type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:122
ElementType_t< ResultType > ElementType
Resulting element type.
Definition: DMatDMatMapExpr.h:168
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition: DMatDMatMapExpr.h:496
static constexpr bool smpAssignable
Compilation switch for the expression template assignment strategy.
Definition: DMatDMatMapExpr.h:452
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: DMatDMatMapExpr.h:550
OP Operation
Data type of the custom binary operation.
Definition: DMatDMatMapExpr.h:183
If_t< RequiresEvaluation_v< MT2 >, const RT2, CT2 > RT
Type for the assignment of the right-hand side dense matrix operand.
Definition: DMatDMatMapExpr.h:189
decltype(std::declval< OP >()(std::declval< RN1 >(), std::declval< RN2 >())) ReturnType
Return type for expression template evaluations.
Definition: DMatDMatMapExpr.h:171
ElementType_t< MT1 > ET1
Element type of the left-hand side dense matrix expression.
Definition: DMatDMatMapExpr.h:118
BLAZE_ALWAYS_INLINE auto load(size_t i, size_t j) const noexcept
Access to the SIMD elements of the matrix.
Definition: DMatDMatMapExpr.h:514
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: DMatDMatMapExpr.h:481
Base class for dense matrices.
Definition: DenseMatrix.h:82
SIMD characteristics of data types.
Definition: SIMDTrait.h:297
Base class for sparse matrices.
Definition: SparseMatrix.h:77
Constraint on the data type.
Constraint on the data type.
Header file for the Computation base class.
Header file for the DenseMatrix base class.
Header file for the MatMatMapExpr base class.
Header file for the Atan2 functor.
Header file for the Bitand functor.
Header file for the Bitor functor.
Header file for the Bitxor functor.
Header file for the Hypot functor.
Header file for the Pow functor.
Header file for the ShiftLV functor.
Header file for the ShiftRV functor.
decltype(auto) min(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise minimum of the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1339
decltype(auto) max(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise maximum of the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1375
decltype(auto) map(const DenseMatrix< MT1, SO > &dm1, const DenseMatrix< MT2, SO > &dm2, const DenseMatrix< MT3, SO > &dm3, const DenseMatrix< MT4, SO > &dm4, const DenseMatrix< MT5, SO > &dm5, const DenseMatrix< MT6, SO > &dm6, OP op)
Elementwise evaluation of the given 6-ary operation on each single element of the dense matrices dm1,...
Definition: DMatDMatMapExpr.h:1300
decltype(auto) select(const DenseMatrix< MT1, SO > &cond, const DenseMatrix< MT2, SO > &lhs, const DenseMatrix< MT3, SO > &rhs)
Elementwise conditional selection of values from the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1528
decltype(auto) hypot(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise hypotenous for the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1412
decltype(auto) pow(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise exponential value for the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1448
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:812
decltype(auto) atan2(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the multi-valued inverse tangent of the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1484
constexpr Join< OP > join(const OP &op)
Wraps the given operation to unpack paired arguments.
Definition: Join.h:183
#define BLAZE_CONSTRAINT_MATRICES_MUST_HAVE_SAME_STORAGE_ORDER(T1, T2)
Constraint on the data type.
Definition: StorageOrder.h:84
#define BLAZE_CONSTRAINT_MUST_NOT_REQUIRE_EVALUATION(T)
Constraint on the data type.
Definition: RequiresEvaluation.h:81
#define BLAZE_CONSTRAINT_MUST_BE_DENSE_MATRIX_TYPE(T)
Constraint on the data type.
Definition: DenseMatrix.h:61
#define BLAZE_CONSTRAINT_MUST_BE_MATRIX_WITH_STORAGE_ORDER(T, SO)
Constraint on the data type.
Definition: StorageOrder.h:63
typename MapTrait< Args... >::Type MapTrait_t
Auxiliary alias declaration for the MapTrait class template.
Definition: MapTrait.h:131
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.
Definition: Assert.h:101
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
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
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
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
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition: EnableIf.h:138
typename If< Condition >::template Type< T1, T2 > If_t
Auxiliary alias template for the If class template.
Definition: If.h:108
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition: IntegralConstant.h:110
#define BLAZE_THROW_OUT_OF_RANGE(MESSAGE)
Macro for the emission of a std::out_of_range exception.
Definition: Exception.h:331
#define BLAZE_THROW_INVALID_ARGUMENT(MESSAGE)
Macro for the emission of a std::invalid_argument exception.
Definition: Exception.h:235
#define BLAZE_FUNCTION_TRACE
Function trace macro.
Definition: FunctionTrace.h:94
Header file for the exception macros of the math module.
Constraints on the storage order of matrix types.
Header file for all forward declarations for expression class templates.
Header file for the And functor.
Header file for the Max functor.
Header file for the Min functor.
Header file for the Or functor.
Header file for the serial shim.
Generic wrapper for the logical AND operator.
Definition: And.h:60
Generic wrapper for the atan2() function.
Definition: Atan2.h:80
Generic wrapper for the bitwise AND ('&') operator.
Definition: Bitand.h:82
Generic wrapper for the bitwise OR ('|') operator.
Definition: Bitor.h:82
Generic wrapper for the bitwise XOR ('^') operator.
Definition: Bitxor.h:68
Base class for all compute expression templates.
Definition: Computation.h:68
Generic wrapper for the hypot() function.
Definition: Hypot.h:80
Generic wrapper for the make_pair() function.
Definition: MakePair.h:82
Base class for all binary matrix map expression templates.
Definition: MatMatMapExpr.h:68
Generic wrapper for the max() function.
Definition: Max.h:82
Generic wrapper for the min() function.
Definition: Min.h:82
Generic wrapper for the logical OR operator.
Definition: Or.h:60
Generic wrapper for the pow() function.
Definition: Pow.h:65
Generic wrapper for the elementwise left-shift operation.
Definition: ShiftLV.h:77
Generic wrapper for the elementwise right-shift operation.
Definition: ShiftRV.h:77
System settings for the inline keywords.
Header file for the RequiresEvaluation type trait.
Header file for basic type definitions.