35#ifndef _BLAZE_MATH_EXPRESSIONS_SMATMAPEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_SMATMAPEXPR_H_
93 :
public MatMapExpr< SparseMatrix< SMatMapExpr<MT,OP,SO>, SO > >
115 template<
typename MT2 >
116 static constexpr bool UseAssign_v =
useAssign;
128 template<
typename MT2 >
129 static constexpr bool UseSMPAssign_v =
130 ( ( !MT2::smpAssignable || !MT::smpAssignable ) &&
useAssign );
148 using ReturnType =
decltype( std::declval<OP>()( std::declval<RN>() ) );
195 ,
op_( std::move(op) )
236 return op_(
it_->value() );
304 ,
op_( std::move(op) )
331 if( i >=
sm_.rows() ) {
334 if( j >=
sm_.columns() ) {
368 inline size_t rows() const noexcept {
379 return sm_.columns();
389 return sm_.nonZeros();
400 return sm_.nonZeros(i);
469 template<
typename T >
470 inline bool canAlias(
const T* alias )
const noexcept {
471 return sm_.canAlias( alias );
481 template<
typename T >
482 inline bool isAliased(
const T* alias )
const noexcept {
483 return sm_.isAliased( alias );
493 return sm_.canSMPAssign();
517 template<
typename MT2
532 assign( *lhs,
map( tmp, rhs.op_ ) );
552 template<
typename MT2 >
562 assign( *lhs, rhs.sm_ );
564 const size_t m( rhs.rows() );
566 for(
size_t i=0UL; i<m; ++i ) {
567 const auto end( (*lhs).end(i) );
568 for(
auto element=(*lhs).begin(i); element!=
end; ++element ) {
569 element->value() = rhs.op_( element->value() );
591 template<
typename MT2 >
592 friend inline auto assign( SparseMatrix<MT2,true>& lhs,
const SMatMapExpr& rhs )
601 assign( *lhs, rhs.sm_ );
603 const size_t n( rhs.columns() );
605 for(
size_t j=0UL; j<n; ++j ) {
606 const auto end( (*lhs).end(j) );
607 for(
auto element=(*lhs).begin(j); element!=
end; ++element ) {
608 element->value() = rhs.op_( element->value() );
630 template<
typename MT2
632 friend inline auto assign( SparseMatrix<MT2,SO2>& lhs,
const SMatMapExpr& rhs )
646 (*lhs).reserve( tmp.nonZeros() );
647 assign( *lhs,
map( tmp, rhs.op_ ) );
666 template<
typename MT2
668 friend inline auto addAssign( DenseMatrix<MT2,SO2>& lhs,
const SMatMapExpr& rhs )
681 addAssign( *lhs,
map( tmp, rhs.op_ ) );
704 template<
typename MT2
706 friend inline auto subAssign( DenseMatrix<MT2,SO2>& lhs,
const SMatMapExpr& rhs )
719 subAssign( *lhs,
map( tmp, rhs.op_ ) );
742 template<
typename MT2
744 friend inline auto schurAssign( DenseMatrix<MT2,SO2>& lhs,
const SMatMapExpr& rhs )
757 schurAssign( *lhs,
map( tmp, rhs.op_ ) );
788 template<
typename MT2
802 const RT tmp( rhs.sm_ );
826 template<
typename MT2
840 const RT tmp( rhs.sm_ );
864 template<
typename MT2
878 const RT tmp( rhs.sm_ );
902 template<
typename MT2
916 const RT tmp( rhs.sm_ );
978 return ReturnType( *sm, std::move(op) );
1001template<
typename MT
1008 return map( *sm, std::move(op) );
1030template<
typename MT
1036 return map( *sm,
Abs() );
1058template<
typename MT
1086template<
typename MT
1114template<
typename MT
1142template<
typename MT
1170template<
typename MT
1198template<
typename MT
1235template<
typename MT
1263template<
typename MT
1291template<
typename MT
1319template<
typename MT
1325 return map( *sm,
Arg() );
1350template<
typename MT
1381template<
typename MT
1412template<
typename MT
1443template<
typename MT
1473template<
typename MT
1503template<
typename MT
1534template<
typename MT
1540 return map( *sm,
Exp() );
1562template<
typename MT
1590template<
typename MT
1621template<
typename MT
1627 return map( *sm,
Log() );
1652template<
typename MT
1683template<
typename MT
1716template<
typename MT
1749template<
typename MT
1777template<
typename MT
1783 return map( *sm,
Sin() );
1808template<
typename MT
1836template<
typename MT
1864template<
typename MT
1892template<
typename MT
1898 return map( *sm,
Cos() );
1923template<
typename MT
1951template<
typename MT
1982template<
typename MT
2010template<
typename MT
2016 return map( *sm,
Tan() );
2038template<
typename MT
2069template<
typename MT
2100template<
typename MT
2128template<
typename MT
2134 return map( *sm,
Erf() );
2157template<
typename MT
2187template<
typename MT
2189inline decltype(
auto)
abs(
const SMatMapExpr<MT,Abs,SO>& sm )
2210template<
typename MT
2233template<
typename MT
2256template<
typename MT
2279template<
typename MT
2302template<
typename MT
2332template<
typename MT
2338 return sm.operand();
2362template<
typename MT
2368 return trans( sm.operand().operand() );
2385template<
typename MT
2408template<
typename MT
Header file for auxiliary alias declarations.
typename T::ReturnType ReturnType_t
Alias declaration for nested ReturnType type definitions.
Definition Aliases.h:470
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
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.
Definition Aliases.h:190
typename T::ResultType ResultType_t
Alias declaration for nested ResultType type definitions.
Definition Aliases.h:450
Header file for run time assertion macros.
Header file for the EnableIf class template.
Header file for the function trace functionality.
Header file for all functors.
Header file for the If class template.
Header file for the IsBuiltin type trait.
Header file for the IsExpression type trait class.
Header file for the IsSame and IsStrictlySame type traits.
Header file for the IsScalar type trait.
Header file for the map trait.
Header file for the multiplication trait.
Header file for the RemoveReference type trait.
Header file for the UnderlyingBuiltin type trait.
Header file for the UnderlyingScalar type trait.
Header file for the ValueIndexPair class.
Base class for dense matrices.
Definition DenseMatrix.h:82
Iterator over the elements of the sparse matrix map expression.
Definition SMatMapExpr.h:164
std::forward_iterator_tag IteratorCategory
The iterator category.
Definition SMatMapExpr.h:173
ConstIterator(IteratorType it, OP op)
Constructor for the ConstIterator class.
Definition SMatMapExpr.h:193
ConstIterator & operator++()
Pre-increment operator.
Definition SMatMapExpr.h:204
bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition SMatMapExpr.h:256
DifferenceType difference_type
Difference between two iterators.
Definition SMatMapExpr.h:184
OP op_
The custom unary operation.
Definition SMatMapExpr.h:286
bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition SMatMapExpr.h:267
ValueIndexPair< ElementType > Element
Element type of the sparse matrix expression.
Definition SMatMapExpr.h:168
IteratorType it_
Iterator over the elements of the sparse matrix expression.
Definition SMatMapExpr.h:285
const Element operator*() const
Direct access to the sparse matrix element at the current iterator position.
Definition SMatMapExpr.h:215
ValueType * PointerType
Pointer return type.
Definition SMatMapExpr.h:175
DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two expression iterators.
Definition SMatMapExpr.h:278
ReturnType value() const
Access to the current value of the sparse element.
Definition SMatMapExpr.h:235
size_t index() const
Access to the current index of the sparse element.
Definition SMatMapExpr.h:245
PointerType pointer
Pointer return type.
Definition SMatMapExpr.h:182
const ConstIterator * operator->() const
Direct access to the sparse matrix element at the current iterator position.
Definition SMatMapExpr.h:225
ValueType value_type
Type of the underlying pointers.
Definition SMatMapExpr.h:181
ptrdiff_t DifferenceType
Difference between two iterators.
Definition SMatMapExpr.h:177
ValueType & ReferenceType
Reference return type.
Definition SMatMapExpr.h:176
ConstIterator_t< RemoveReference_t< Operand > > IteratorType
Iterator type of the sparse matrix expression.
Definition SMatMapExpr.h:171
Element ValueType
Type of the underlying pointers.
Definition SMatMapExpr.h:174
IteratorCategory iterator_category
The iterator category.
Definition SMatMapExpr.h:180
ReferenceType reference
Reference return type.
Definition SMatMapExpr.h:183
Expression object for the sparse matrix map() function.
Definition SMatMapExpr.h:95
static constexpr bool useAssign
Compilation switch for the serial evaluation strategy of the map expression.
Definition SMatMapExpr.h:111
TransposeType_t< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition SMatMapExpr.h:144
ConstIterator find(size_t i, size_t j) const
Searches for a specific matrix element.
Definition SMatMapExpr.h:411
static constexpr bool smpAssignable
Compilation switch for the expression template assignment strategy.
Definition SMatMapExpr.h:293
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition SMatMapExpr.h:470
size_t nonZeros() const
Returns the number of non-zero elements in the sparse matrix.
Definition SMatMapExpr.h:388
OppositeType_t< MT > OT
Opposite type of the sparse matrix expression.
Definition SMatMapExpr.h:99
Operation op_
The custom unary operation.
Definition SMatMapExpr.h:500
Operand operand() const noexcept
Returns the sparse matrix operand.
Definition SMatMapExpr.h:448
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row/column i.
Definition SMatMapExpr.h:347
bool canSMPAssign() const noexcept
Returns whether the expression can be used in SMP assignments.
Definition SMatMapExpr.h:492
decltype(std::declval< OP >()(std::declval< RN >())) ReturnType
Return type for expression template evaluations.
Definition SMatMapExpr.h:148
ResultType_t< MT > RT
Result type of the sparse matrix expression.
Definition SMatMapExpr.h:98
ConstIterator lowerBound(size_t i, size_t j) const
Returns an iterator to the first index not less then the given index.
Definition SMatMapExpr.h:424
Operation operation() const
Returns a copy of the custom operation.
Definition SMatMapExpr.h:458
ConstIterator upperBound(size_t i, size_t j) const
Returns an iterator to the first index greater then the given index.
Definition SMatMapExpr.h:437
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition SMatMapExpr.h:368
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row/column i.
Definition SMatMapExpr.h:358
If_t< useAssign, const ResultType, const SMatMapExpr & > CompositeType
Data type for composite expression templates.
Definition SMatMapExpr.h:151
MatMapExpr< SparseMatrix< This, SO > > BaseType
Base type of this SMatMapExpr instance.
Definition SMatMapExpr.h:140
If_t< IsExpression_v< MT >, const MT, const MT & > Operand
Composite data type of the sparse matrix expression.
Definition SMatMapExpr.h:154
OppositeType_t< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition SMatMapExpr.h:143
size_t nonZeros(size_t i) const
Returns the number of non-zero elements in the specified row.
Definition SMatMapExpr.h:399
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition SMatMapExpr.h:482
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition SMatMapExpr.h:330
SMatMapExpr(const MT &sm, OP op) noexcept
Constructor for the SMatMapExpr class.
Definition SMatMapExpr.h:302
ReturnType_t< MT > RN
Return type of the sparse matrix expression.
Definition SMatMapExpr.h:100
OP Operation
Data type of the custom unary operation.
Definition SMatMapExpr.h:157
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition SMatMapExpr.h:315
ElementType_t< ResultType > ElementType
Resulting element type.
Definition SMatMapExpr.h:145
SMatMapExpr< MT, OP, SO > This
Type of this SMatMapExpr instance.
Definition SMatMapExpr.h:137
MapTrait_t< RT, OP > ResultType
Result type for expression template evaluations.
Definition SMatMapExpr.h:142
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition SMatMapExpr.h:378
Operand sm_
Sparse matrix of the map expression.
Definition SMatMapExpr.h:499
Expression object for sparse matrix transpositions.
Definition SMatTransExpr.h:87
Base class for sparse matrices.
Definition SparseMatrix.h:77
Index-value-pair for sparse vectors and matrices.
Definition ValueIndexPair.h:75
Pointer difference type of the Blaze library.
Constraint on the data type.
Constraint on the data type.
Header file for the Computation base class.
Header file for the MatMapExpr base class.
Header file for the SparseMatrix base class.
decltype(auto) exp(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1801
decltype(auto) trunc(const DenseMatrix< MT, SO > &dm)
Applies the trunc() function to each single element of the dense matrix dm.
Definition DMatMapExpr.h:1408
decltype(auto) floor(const DenseMatrix< MT, SO > &dm)
Applies the floor() function to each single element of the dense matrix dm.
Definition DMatMapExpr.h:1352
decltype(auto) exp2(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1829
decltype(auto) sin(const DenseMatrix< MT, SO > &dm)
Computes the sine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2044
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) cbrt(const DenseMatrix< MT, SO > &dm)
Computes the cubic root of each single element of the dense matrix dm.
Definition DMatMapExpr.h:1678
decltype(auto) log1p(const DenseMatrix< MT, SO > &dm)
Computes the natural logarithm of x+1 for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1983
decltype(auto) invsqrt(const DenseMatrix< MT, SO > &dm)
Computes the inverse square root of each single element of the dense matrix dm.
Definition DMatMapExpr.h:1647
decltype(auto) asinh(const DenseMatrix< MT, SO > &dm)
Computes the inverse hyperbolic sine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2131
decltype(auto) acosh(const DenseMatrix< MT, SO > &dm)
Computes the inverse hyperbolic cosine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2249
decltype(auto) log(const DenseMatrix< MT, SO > &dm)
Computes the natural logarithm for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1888
decltype(auto) invcbrt(const DenseMatrix< MT, SO > &dm)
Computes the inverse cubic root of each single element of the dense matrix dm.
Definition DMatMapExpr.h:1709
decltype(auto) real(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the real part of each single element of dm.
Definition DMatMapExpr.h:1529
decltype(auto) conj(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the complex conjugate of each single element of dm.
Definition DMatMapExpr.h:1464
decltype(auto) sinh(const DenseMatrix< MT, SO > &dm)
Computes the hyperbolic sine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2103
decltype(auto) acos(const DenseMatrix< MT, SO > &dm)
Computes the inverse cosine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2190
decltype(auto) exp10(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1857
decltype(auto) ctrans(const DenseMatrix< MT, SO > &dm)
Returns the conjugate transpose matrix of dm.
Definition DMatMapExpr.h:1501
decltype(auto) atan(const DenseMatrix< MT, SO > &dm)
Computes the inverse tangent for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2305
decltype(auto) tanh(const DenseMatrix< MT, SO > &dm)
Computes the hyperbolic tangent for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2336
decltype(auto) cosh(const DenseMatrix< MT, SO > &dm)
Computes the hyperbolic cosine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2218
decltype(auto) arg(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the phase angle of each single element of dm.
Definition DMatMapExpr.h:1585
decltype(auto) log2(const DenseMatrix< MT, SO > &dm)
Computes the binary logarithm for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1919
decltype(auto) forEach(const DenseMatrix< MT, SO > &dm, OP op)
Evaluates the given custom operation on each single element of the dense matrix dm.
Definition DMatMapExpr.h:1132
decltype(auto) abs(const DenseMatrix< MT, SO > &dm)
Applies the abs() function to each single element of the dense matrix dm.
Definition DMatMapExpr.h:1296
decltype(auto) ceil(const DenseMatrix< MT, SO > &dm)
Applies the ceil() function to each single element of the dense matrix dm.
Definition DMatMapExpr.h:1380
decltype(auto) clamp(const DenseMatrix< MT, SO > &dm, const DT &min, const DT &max)
Restricts each single element of the dense matrix dm to the range .
Definition DMatMapExpr.h:1740
decltype(auto) asin(const DenseMatrix< MT, SO > &dm)
Computes the inverse sine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2075
decltype(auto) trans(const DenseMatrix< MT, SO > &dm)
Calculation of the transpose of the given dense matrix.
Definition DMatTransExpr.h:766
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) sign(const DenseMatrix< MT, SO > &dm)
Applies the sign() function to each single element of the dense matrix dm.
Definition DMatMapExpr.h:1324
decltype(auto) erfc(const DenseMatrix< MT, SO > &dm)
Computes the complementary error function for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2423
decltype(auto) log10(const DenseMatrix< MT, SO > &dm)
Computes the common logarithm for each single element of the dense matrix dm.
Definition DMatMapExpr.h:1950
decltype(auto) map(const DenseMatrix< MT1, SO > &lhs, const DenseMatrix< MT2, SO > &rhs, OP op)
Elementwise evaluation of the given binary operation on each single element of the dense matrices lhs...
Definition DMatDMatMapExpr.h:1144
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) round(const DenseMatrix< MT, SO > &dm)
Applies the round() function to each single element of the dense matrix dm.
Definition DMatMapExpr.h:1436
decltype(auto) atanh(const DenseMatrix< MT, SO > &dm)
Computes the inverse hyperbolic tangent for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2367
decltype(auto) cos(const DenseMatrix< MT, SO > &dm)
Computes the cosine for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2159
decltype(auto) erf(const DenseMatrix< MT, SO > &dm)
Computes the error function for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2395
decltype(auto) lgamma(const DenseMatrix< MT, SO > &dm)
Computes the natural logarithm of the absolute value of the gamma function for each single element of...
Definition DMatMapExpr.h:2016
decltype(auto) imag(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the imaginary part of each single element of dm.
Definition DMatMapExpr.h:1557
decltype(auto) tan(const DenseMatrix< MT, SO > &dm)
Computes the tangent for each single element of the dense matrix dm.
Definition DMatMapExpr.h:2277
decltype(auto) sqrt(const DenseMatrix< MT, SO > &dm)
Computes the square root of each single element of the dense matrix dm.
Definition DMatMapExpr.h:1616
constexpr Bind3rd< OP, A3 > bind3rd(const OP &op, const A3 &a3)
Binds the given object/value to the 3rd parameter of the given operation.
Definition Bind3rd.h:157
constexpr Bind2nd< OP, A2 > bind2nd(const OP &op, const A2 &a2)
Binds the given object/value to the 2nd parameter of the given operation.
Definition Bind2nd.h:155
#define BLAZE_CONSTRAINT_MUST_NOT_REQUIRE_EVALUATION(T)
Constraint on the data type.
Definition RequiresEvaluation.h:81
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_MATRIX_TYPE(T)
Constraint on the data type.
Definition SparseMatrix.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
typename MultTrait< T1, T2 >::Type MultTrait_t
Auxiliary alias declaration for the MultTrait class template.
Definition MultTrait.h:165
constexpr bool RequiresEvaluation_v
Auxiliary variable template for the RequiresEvaluation type trait.
Definition RequiresEvaluation.h:91
typename UnderlyingScalar< T >::Type UnderlyingScalar_t
Auxiliary alias declaration for the UnderlyingScalar type trait.
Definition UnderlyingScalar.h:116
MT::Iterator end(Matrix< MT, SO > &matrix, size_t i)
Returns an iterator just past the last element of row/column i.
Definition Matrix.h:584
#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
constexpr bool IsSame_v
Auxiliary variable template for the IsSame type trait.
Definition IsSame.h:159
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition EnableIf.h:138
#define BLAZE_THROW_OUT_OF_RANGE(MESSAGE)
Macro for the emission of a std::out_of_range exception.
Definition Exception.h:331
#define BLAZE_FUNCTION_TRACE
Function trace macro.
Definition FunctionTrace.h:94
typename If< Condition >::template Type< T1, T2 > If_t
Auxiliary alias template for the If class template.
Definition If.h:108
Header file for the exception macros of the math module.
Constraints on the storage order of matrix types.
Header file for all forward declarations for expression class templates.
Header file for the serial shim.
Generic wrapper for the abs() function.
Definition Abs.h:85
Generic wrapper for the acos() function.
Definition Acos.h:71
Generic wrapper for the acosh() function.
Definition Acosh.h:71
Generic wrapper for the arg() function.
Definition Arg.h:77
Generic wrapper for the asin() function.
Definition Asin.h:81
Generic wrapper for the asinh() function.
Definition Asinh.h:81
Generic wrapper for the atan() function.
Definition Atan.h:81
Generic wrapper for the atanh() function.
Definition Atanh.h:81
Generic wrapper for the cbrt() function.
Definition Cbrt.h:83
Generic wrapper for the ceil() function.
Definition Ceil.h:83
Generic wrapper for the clamp() function.
Definition Clamp.h:68
Base class for all compute expression templates.
Definition Computation.h:68
Generic wrapper for the conj() function.
Definition Conj.h:85
Generic wrapper for the cos() function.
Definition Cos.h:71
Generic wrapper for the cosh() function.
Definition Cosh.h:71
Generic wrapper for the erf() function.
Definition Erf.h:79
Generic wrapper for the erfc() function.
Definition Erfc.h:69
Generic wrapper for the exp10() function.
Definition Exp10.h:69
Generic wrapper for the exp2() function.
Definition Exp2.h:69
Generic wrapper for the exp() function.
Definition Exp.h:71
Generic wrapper for the floor() function.
Definition Floor.h:83
Generic wrapper for the imag() function.
Definition Imag.h:76
Generic wrapper for the invcbrt() function.
Definition InvCbrt.h:69
Generic wrapper for the invsqrt() function.
Definition InvSqrt.h:71
Generic wrapper for the lgamma() function.
Definition LGamma.h:71
Generic wrapper for the log10() function.
Definition Log10.h:71
Generic wrapper for the log1p() function.
Definition Log1p.h:71
Generic wrapper for the log2() function.
Definition Log2.h:69
Generic wrapper for the log() function.
Definition Log.h:71
Base class for all unary matrix map expression templates.
Definition MatMapExpr.h:68
Generic wrapper for the pow() function.
Definition Pow.h:65
Generic wrapper for the real() function.
Definition Real.h:82
Generic wrapper for the round() function.
Definition Round.h:83
Generic wrapper for the sign() function.
Definition Sign.h:83
Generic wrapper for the sin() function.
Definition Sin.h:81
Generic wrapper for the sinh() function.
Definition Sinh.h:81
Generic wrapper for the sqrt() function.
Definition Sqrt.h:85
Generic wrapper for the tan() function.
Definition Tan.h:81
Generic wrapper for the tanh() function.
Definition Tanh.h:81
Generic wrapper for the trunc() function.
Definition Trunc.h:83
Header file for the RequiresEvaluation type trait.
Header file for basic type definitions.