35#ifndef _BLAZE_MATH_EXPRESSIONS_DVECSVECOUTEREXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_DVECSVECOUTEREXPR_H_
103template<
typename VT1
106 :
public VecTVecMultExpr< SparseMatrix< DVecSVecOuterExpr<VT1,VT2>, false > >
146 template<
typename MT >
147 static constexpr bool UseAssign_v =
useAssign;
156 template<
typename T1,
typename T2,
typename T3 >
157 static constexpr bool UseVectorizedKernel_v =
158 ( useOptimizedKernels &&
159 T1::simdEnabled && T2::simdEnabled &&
171 template<
typename T1,
typename T2,
typename T3 >
172 static constexpr bool UseDefaultKernel_v = !UseVectorizedKernel_v<T1,T2,T3>;
284 return v_ *
it_->value();
385 if( i >=
lhs_.size() ) {
388 if( j >=
rhs_.size() ) {
422 inline size_t rows() const noexcept {
443 return lhs_.size() *
rhs_.nonZeros();
455 return rhs_.nonZeros();
524 template<
typename T >
525 inline bool canAlias(
const T* alias )
const noexcept {
526 return (
lhs_.canAlias( alias ) ||
rhs_.canAlias( alias ) );
536 template<
typename T >
537 inline bool isAliased(
const T* alias )
const noexcept {
538 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
563 template<
typename MT >
580 const auto begin( y.begin() );
581 const auto end ( y.end() );
583 for(
size_t i=0UL; i<x.size(); ++i ) {
584 for(
auto element=
begin; element!=
end; ++element ) {
585 (*lhs)(i,element->index()) = x[i] * element->value();
605 template<
typename MT >
623 DVecSVecOuterExpr::selectAssignKernel( *lhs, x, y );
642 template<
typename MT
645 static inline auto selectAssignKernel( MT& A,
const VT3& x,
const VT4& y )
648 const auto begin( y.begin() );
649 const auto end ( y.end() );
651 for(
auto element=
begin; element!=
end; ++element ) {
652 for(
size_t i=0UL; i<x.size(); ++i ) {
653 A(i,element->index()) = x[i] * element->value();
674 template<
typename MT
677 static inline auto selectAssignKernel( MT& A,
const VT3& x,
const VT4& y )
682 const size_t M( A.rows() );
687 const auto begin( y.begin() );
688 const auto end ( y.end() );
690 for(
auto element=
begin; element!=
end; ++element )
697 A.store( i, element->index(), x.load(i) * y1 );
699 for( ; remainder && i<M; ++i ) {
700 A(i,element->index()) = x[i] * element->value();
722 template<
typename MT >
723 friend inline auto assign( SparseMatrix<MT,false>& lhs,
const DVecSVecOuterExpr& rhs )
741 (*lhs).reserve( x.size() * y.nonZeros() );
744 const auto begin( y.begin() );
745 const auto end ( y.end() );
750 for(
size_t i=0UL; i<x.size(); ++i ) {
752 for(
auto element=
begin; element!=
end; ++element ) {
753 (*lhs).append( i, element->index(), x[i] * element->value() );
756 (*lhs).finalize( i );
775 template<
typename MT >
776 friend inline void assign( SparseMatrix<MT,true>& lhs,
const DVecSVecOuterExpr& rhs )
793 const auto begin( y.begin() );
794 const auto end ( y.end() );
799 (*lhs).reserve(
begin->
index(), rhs.nonZeros() );
803 for(
auto element=
begin; element!=
end; ++element ) {
805 for( ; index < element->index(); ++index ) {
806 (*lhs).finalize( index );
808 for(
size_t i=0UL; i<x.size(); ++i ) {
809 (*lhs).append( i, element->index(), x[i] * element->value() );
811 (*lhs).finalize( index++ );
815 for( ; index < y.size(); ++index ) {
816 (*lhs).finalize( index );
838 template<
typename MT >
839 friend inline auto addAssign( DenseMatrix<MT,false>& lhs,
const DVecSVecOuterExpr& rhs )
855 const auto begin( y.begin() );
856 const auto end ( y.end() );
858 for(
size_t i=0UL; i<x.size(); ++i ) {
860 for(
auto element=
begin; element!=
end; ++element ) {
861 (*lhs)(i,element->index()) += x[i] * element->value();
882 template<
typename MT >
883 friend inline void addAssign( DenseMatrix<MT,true>& lhs,
const DVecSVecOuterExpr& rhs )
900 DVecSVecOuterExpr::selectAddAssignKernel( *lhs, x, y );
919 template<
typename MT
922 static inline auto selectAddAssignKernel( MT& A,
const VT3& x,
const VT4& y )
925 const auto begin( y.begin() );
926 const auto end ( y.end() );
928 for(
auto element=
begin; element!=
end; ++element ) {
930 for(
size_t i=0UL; i<x.size(); ++i ) {
931 A(i,element->index()) += x[i] * element->value();
953 template<
typename MT
956 static inline auto selectAddAssignKernel( MT& A,
const VT3& x,
const VT4& y )
961 const size_t M( A.rows() );
966 const auto begin( y.begin() );
967 const auto end ( y.end() );
969 for(
auto element=
begin; element!=
end; ++element )
971 if(
isDefault( element->value() ) )
continue;
978 A.store( i, element->index(), A.load(i,element->index()) + x.load(i) * y1 );
980 for( ; remainder && i<M; ++i ) {
981 A(i,element->index()) += x[i] * element->value();
1008 template<
typename MT >
1009 friend inline auto subAssign( DenseMatrix<MT,false>& lhs,
const DVecSVecOuterExpr& rhs )
1025 const auto begin( y.begin() );
1026 const auto end ( y.end() );
1028 for(
size_t i=0UL; i<x.size(); ++i ) {
1030 for(
auto element=
begin; element!=
end; ++element ) {
1031 (*lhs)(i,element->index()) -= x[i] * element->value();
1052 template<
typename MT >
1053 friend inline void subAssign( DenseMatrix<MT,true>& lhs,
const DVecSVecOuterExpr& rhs )
1070 DVecSVecOuterExpr::selectSubAssignKernel( *lhs, x, y );
1089 template<
typename MT
1092 static inline auto selectSubAssignKernel( MT& A,
const VT3& x,
const VT4& y )
1095 const auto begin( y.begin() );
1096 const auto end ( y.end() );
1098 for(
auto element=
begin; element!=
end; ++element ) {
1100 for(
size_t i=0UL; i<x.size(); ++i ) {
1101 A(i,element->index()) -= x[i] * element->value();
1123 template<
typename MT
1126 static inline auto selectSubAssignKernel( MT& A,
const VT3& x,
const VT4& y )
1131 const size_t M( A.rows() );
1136 const auto begin( y.begin() );
1137 const auto end ( y.end() );
1139 for(
auto element=
begin; element!=
end; ++element )
1141 if(
isDefault( element->value() ) )
continue;
1148 A.store( i, element->index(), A.load(i,element->index()) - x.load(i) * y1 );
1150 for( ; remainder && i<M; ++i ) {
1151 A(i,element->index()) -= x[i] * element->value();
1178 template<
typename MT >
1179 friend inline auto schurAssign( DenseMatrix<MT,false>& lhs,
const DVecSVecOuterExpr& rhs )
1195 const auto end( y.end() );
1197 for(
size_t i=0UL; i<x.size(); ++i )
1201 for(
auto element=y.begin(); element!=
end; ++element, ++j ) {
1202 for( ; j<element->index(); ++j )
1203 reset( (*lhs)(i,j) );
1204 (*lhs)(i,element->index()) *= x[i] * element->value();
1207 for( ; j<y.size(); ++j ) {
1208 reset( (*lhs)(i,j) );
1228 template<
typename MT >
1229 friend inline void schurAssign( DenseMatrix<MT,true>& lhs,
const DVecSVecOuterExpr& rhs )
1246 DVecSVecOuterExpr::selectSchurAssignKernel( *lhs, x, y );
1265 template<
typename MT
1268 static inline auto selectSchurAssignKernel( MT& A,
const VT3& x,
const VT4& y )
1271 const auto end( y.end() );
1275 for(
auto element=y.begin(); element!=
end; ++element )
1277 if(
isDefault( element->value() ) )
continue;
1279 for( ; j<element->index(); ++j ) {
1280 for(
size_t i=0UL; i<x.size(); ++i )
1284 for(
size_t i=0UL; i<x.size(); ++i ) {
1285 A(i,element->index()) *= x[i] * element->value();
1291 for( ; j<y.size(); ++j ) {
1292 for(
size_t i=0UL; i<x.size(); ++i )
1313 template<
typename MT
1316 static inline auto selectSchurAssignKernel( MT& A,
const VT3& x,
const VT4& y )
1321 const size_t M( A.rows() );
1322 const size_t N( A.columns() );
1327 const auto begin( y.begin() );
1328 const auto end ( y.end() );
1332 for(
auto element=
begin; element!=
end; ++element )
1334 if(
isDefault( element->value() ) )
continue;
1336 for( ; j<element->index(); ++j ) {
1337 for(
size_t i=0UL; i<M; ++i )
1346 A.store( i, element->index(), A.load(i,element->index()) * ( x.load(i) * y1 ) );
1348 for( ; remainder && i<M; ++i ) {
1349 A(i,element->index()) *= x[i] * element->value();
1356 for(
size_t i=0UL; i<M; ++i )
1410template<
typename VT1
1437template<
typename VT1
1440inline decltype(
auto)
1450 return ReturnType( (*lhs).size(), (*rhs).size() );
1485template<
typename VT1
1487inline decltype(
auto)
1492 return dvecsvecouter( *lhs, *rhs );
1507template<
typename VT1,
typename VT2 >
1508struct Size< DVecSVecOuterExpr<VT1,VT2>, 0UL >
1509 :
public Size<VT1,0UL>
1512template<
typename VT1,
typename VT2 >
1514 :
public Size<VT2,0UL>
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::CompositeType CompositeType_t
Alias declaration for nested CompositeType type definitions.
Definition Aliases.h:110
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.
Constraint on the transpose flag of vector types.
Header file for the EnableIf class template.
Header file for the function trace functionality.
Header file for the HasSIMDMult type trait.
Header file for the If class template.
Header file for the IsColumnMajorMatrix type trait.
Header file for the IsComputation type trait class.
Header file for the isDefault shim.
Header file for the IsExpression type trait class.
Header file for the IsPadded type trait.
Header file for the IsSame and IsStrictlySame type traits.
Header file for the IsTemporary type trait class.
Deactivation of problematic macros.
Header file for the MAYBE_UNUSED function template.
Header file for the multiplication trait.
Header file for the prevMultiple shim.
Header file for the RemoveReference type trait.
Constraints on the storage order of matrix types.
Constraint on the transpose flag of vector types.
Header file for all SIMD functionality.
Constraint on the data type.
Header file for the ValueIndexPair class.
Constraint on the data type.
Iterator over the elements of the dense vector-sparse vector outer product expression.
Definition DVecSVecOuterExpr.h:212
DifferenceType difference_type
Difference between two iterators.
Definition DVecSVecOuterExpr.h:235
PointerType pointer
Pointer return type.
Definition DVecSVecOuterExpr.h:233
const Element operator*() const
Direct access to the sparse matrix element at the current iterator position.
Definition DVecSVecOuterExpr.h:263
const ConstIterator * operator->() const
Direct access to the sparse matrix element at the current iterator position.
Definition DVecSVecOuterExpr.h:273
size_t index() const
Access to the current index of the sparse element.
Definition DVecSVecOuterExpr.h:293
IteratorType it_
Iterator over the elements of the right-hand side sparse vector expression.
Definition DVecSVecOuterExpr.h:334
ValueIndexPair< ElementType > Element
Element type of the sparse matrix expression.
Definition DVecSVecOuterExpr.h:216
ValueType * PointerType
Pointer return type.
Definition DVecSVecOuterExpr.h:226
IteratorCategory iterator_category
The iterator category.
Definition DVecSVecOuterExpr.h:231
bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition DVecSVecOuterExpr.h:304
ReturnType value() const
Access to the current value of the sparse element.
Definition DVecSVecOuterExpr.h:283
ConstIterator_t< RemoveReference_t< RightOperand > > IteratorType
Iterator type of the sparse vector expression.
Definition DVecSVecOuterExpr.h:222
Element ValueType
Type of the underlying pointers.
Definition DVecSVecOuterExpr.h:225
ValueType value_type
Type of the underlying pointers.
Definition DVecSVecOuterExpr.h:232
ValueType & ReferenceType
Reference return type.
Definition DVecSVecOuterExpr.h:227
ReferenceType reference
Reference return type.
Definition DVecSVecOuterExpr.h:234
DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two expression iterators.
Definition DVecSVecOuterExpr.h:326
ET1 LeftElement
Element type of the dense vector expression.
Definition DVecSVecOuterExpr.h:219
std::forward_iterator_tag IteratorCategory
The iterator category.
Definition DVecSVecOuterExpr.h:224
ConstIterator & operator++()
Pre-increment operator.
Definition DVecSVecOuterExpr.h:252
bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition DVecSVecOuterExpr.h:315
LeftElement v_
Element of the left-hand side dense vector expression.
Definition DVecSVecOuterExpr.h:333
ConstIterator(LeftElement v, IteratorType it)
Constructor for the ConstIterator class.
Definition DVecSVecOuterExpr.h:241
ptrdiff_t DifferenceType
Difference between two iterators.
Definition DVecSVecOuterExpr.h:228
Expression object for dense vector-sparse vector outer products.
Definition DVecSVecOuterExpr.h:108
RightOperand rhs_
Right-hand side sparse vector of the multiplication expression.
Definition DVecSVecOuterExpr.h:545
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition DVecSVecOuterExpr.h:525
If_t< IsComputation_v< VT1 >, const RT1, CT1 > LT
Type for the assignment of the left-hand side dense vector operand.
Definition DVecSVecOuterExpr.h:202
RightOperand rightOperand() const noexcept
Returns the right-hand side sparse vector operand.
Definition DVecSVecOuterExpr.h:513
LeftOperand leftOperand() const noexcept
Returns the left-hand side dense vector operand.
Definition DVecSVecOuterExpr.h:503
VecTVecMultExpr< SparseMatrix< This, false > > BaseType
Base type of this DVecSVecOuterExpr instance.
Definition DVecSVecOuterExpr.h:182
ResultType_t< VT1 > RT1
Result type of the left-hand side dense vector expression.
Definition DVecSVecOuterExpr.h:111
const If_t< returnExpr, ExprReturnType, ElementType > ReturnType
Return type for expression template evaluations.
Definition DVecSVecOuterExpr.h:190
ElementType_t< ResultType > ElementType
Resulting element type.
Definition DVecSVecOuterExpr.h:187
CompositeType_t< VT2 > CT2
Composite type of the right-hand side sparse vector expression.
Definition DVecSVecOuterExpr.h:116
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition DVecSVecOuterExpr.h:537
If_t< IsExpression_v< VT1 >, const VT1, const VT1 & > LeftOperand
Composite type of the left-hand side dense vector expression.
Definition DVecSVecOuterExpr.h:196
static constexpr bool returnExpr
Compilation switch for the selection of the subscript operator return type.
Definition DVecSVecOuterExpr.h:128
ReturnType_t< VT2 > RN2
Return type of the right-hand side sparse vector expression.
Definition DVecSVecOuterExpr.h:114
If_t< useAssign, const ResultType, const DVecSVecOuterExpr & > CompositeType
Data type for composite expression templates.
Definition DVecSVecOuterExpr.h:193
LeftOperand lhs_
Left-hand side dense vector of the multiplication expression.
Definition DVecSVecOuterExpr.h:544
size_t nonZeros(size_t i) const
Returns the number of non-zero elements in the specified row.
Definition DVecSVecOuterExpr.h:453
DVecSVecOuterExpr< VT1, VT2 > This
Type of this DVecSVecOuterExpr instance.
Definition DVecSVecOuterExpr.h:179
ReturnType_t< VT1 > RN1
Return type of the left-hand side dense vector expression.
Definition DVecSVecOuterExpr.h:113
static constexpr size_t SIMDSIZE
The number of elements packed within a single SIMD element.
Definition DVecSVecOuterExpr.h:346
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row i.
Definition DVecSVecOuterExpr.h:412
TransposeType_t< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition DVecSVecOuterExpr.h:186
DVecSVecOuterExpr(const VT1 &lhs, const VT2 &rhs) noexcept
Constructor for the DVecSVecOuterExpr class.
Definition DVecSVecOuterExpr.h:355
size_t nonZeros() const
Returns the number of non-zero elements in the sparse matrix.
Definition DVecSVecOuterExpr.h:442
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition DVecSVecOuterExpr.h:432
ConstIterator upperBound(size_t i, size_t j) const
Returns an iterator to the first index greater then the given index.
Definition DVecSVecOuterExpr.h:492
CompositeType_t< VT1 > CT1
Composite type of the left-hand side dense vector expression.
Definition DVecSVecOuterExpr.h:115
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition DVecSVecOuterExpr.h:422
MultTrait_t< RT1, RT2 > ResultType
Result type for expression template evaluations.
Definition DVecSVecOuterExpr.h:184
static constexpr bool useAssign
Compilation switch for the evaluation strategy of the multiplication expression.
Definition DVecSVecOuterExpr.h:142
decltype(std::declval< RN1 >() *std::declval< RN2 >()) ExprReturnType
Expression return type for the subscript operator.
Definition DVecSVecOuterExpr.h:131
OppositeType_t< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition DVecSVecOuterExpr.h:185
If_t< IsExpression_v< VT2 >, const VT2, const VT2 & > RightOperand
Composite type of the right-hand side sparse vector expression.
Definition DVecSVecOuterExpr.h:199
ElementType_t< VT1 > ET1
Element type of the left-hand side dense vector expression.
Definition DVecSVecOuterExpr.h:117
ConstIterator find(size_t i, size_t j) const
Searches for a specific matrix element.
Definition DVecSVecOuterExpr.h:466
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition DVecSVecOuterExpr.h:384
ResultType_t< VT2 > RT2
Result type of the right-hand side sparse vector expression.
Definition DVecSVecOuterExpr.h:112
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row i.
Definition DVecSVecOuterExpr.h:401
ElementType_t< VT2 > ET2
Element type of the right-hand side sparse vector expression.
Definition DVecSVecOuterExpr.h:118
If_t< IsComputation_v< VT2 >, const RT2, CT2 > RT
Type for the assignment of the right-hand side dense vector operand.
Definition DVecSVecOuterExpr.h:205
ConstIterator lowerBound(size_t i, size_t j) const
Returns an iterator to the first index not less then the given index.
Definition DVecSVecOuterExpr.h:479
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition DVecSVecOuterExpr.h:368
static constexpr bool smpAssignable
Compilation switch for the expression template assignment strategy.
Definition DVecSVecOuterExpr.h:341
Base class for dense matrices.
Definition DenseMatrix.h:82
Base class for N-dimensional dense vectors.
Definition DenseVector.h:77
SIMD characteristics of data types.
Definition SIMDTrait.h:297
Base class for sparse vectors.
Definition SparseVector.h:72
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.
Constraint on the data type.
Constraint on the data type.
Constraint on the data type.
Header file for the Computation base class.
Header file for the SparseMatrix base class.
Header file for the VecTVecMultExpr base class.
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition DMatSerialExpr.h:812
bool isDefault(const DiagonalMatrix< MT, SO, DF > &m)
Returns whether the given diagonal matrix is in default state.
Definition DiagonalMatrix.h:169
#define BLAZE_CONSTRAINT_MUST_NOT_BE_SYMMETRIC_MATRIX_TYPE(T)
Constraint on the data type.
Definition Symmetric.h:79
#define BLAZE_CONSTRAINT_MUST_BE_ROW_MAJOR_MATRIX_TYPE(T)
Constraint on the data type.
Definition RowMajorMatrix.h:61
#define BLAZE_CONSTRAINT_MUST_NOT_REQUIRE_EVALUATION(T)
Constraint on the data type.
Definition RequiresEvaluation.h:81
#define BLAZE_CONSTRAINT_MUST_FORM_VALID_VECTVECMULTEXPR(T1, T2)
Constraint on the data type.
Definition VecTVecMultExpr.h:103
#define BLAZE_CONSTRAINT_MUST_NOT_BE_ZERO_TYPE(T)
Constraint on the data type.
Definition Zero.h:81
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_VECTOR_TYPE(T)
Constraint on the data type.
Definition SparseVector.h:61
#define BLAZE_CONSTRAINT_MUST_BE_DENSE_VECTOR_TYPE(T)
Constraint on the data type.
Definition DenseVector.h:61
#define BLAZE_CONSTRAINT_MUST_BE_COLUMN_VECTOR_TYPE(T)
Constraint on the data type.
Definition ColumnVector.h:61
#define BLAZE_CONSTRAINT_MUST_BE_ROW_VECTOR_TYPE(T)
Constraint on the data type.
Definition RowVector.h:61
#define BLAZE_CONSTRAINT_MUST_BE_ZERO_TYPE(T)
Constraint on the data type.
Definition Zero.h:61
typename MultTrait< T1, T2 >::Type MultTrait_t
Auxiliary alias declaration for the MultTrait class template.
Definition MultTrait.h:165
constexpr bool IsComputation_v
Auxiliary variable template for the IsComputation type trait.
Definition IsComputation.h:90
constexpr bool HasSIMDMult_v
Auxiliary variable template for the HasSIMDMult type trait.
Definition HasSIMDMult.h:188
constexpr bool IsPadded_v
Auxiliary variable template for the IsPadded type trait.
Definition IsPadded.h:134
constexpr bool IsTemporary_v
Auxiliary variable template for the IsTemporary type trait.
Definition IsTemporary.h:88
BLAZE_ALWAYS_INLINE constexpr auto prevMultiple(T1 value, T2 factor) noexcept
Rounds down an integral value to the previous multiple of a given factor.
Definition PrevMultiple.h:68
constexpr void reset(Matrix< MT, SO > &matrix)
Resetting the given matrix.
Definition Matrix.h:806
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.
Definition Assert.h:101
BLAZE_ALWAYS_INLINE const EnableIf_t< IsIntegral_v< T > &&HasSize_v< T, 1UL >, If_t< IsSigned_v< T >, SIMDint8, SIMDuint8 > > set(T value) noexcept
Sets all values in the vector to the given 1-byte integral value.
Definition Set.h:75
typename SIMDTrait< T >::Type SIMDTrait_t
Auxiliary alias declaration for the SIMDTrait class template.
Definition SIMDTrait.h:315
constexpr bool IsSame_v
Auxiliary variable template for the IsSame type trait.
Definition IsSame.h:159
constexpr void MAYBE_UNUSED(const Args &...)
Suppression of unused parameter warnings.
Definition MaybeUnused.h:81
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
typename EnableIf<!Condition, T >::Type DisableIf_t
Auxiliary type for the EnableIf class template.
Definition EnableIf.h:175
Header file for the exception macros of the math module.
Header file for all forward declarations for expression class templates.
Header file for the Size type trait.
Header file for the reset shim.
Header file for the serial shim.
Base class for all compute expression templates.
Definition Computation.h:68
Compile time evaluation of the size of vectors and matrices.
Definition Size.h:119
Base class for all outer product expression templates.
Definition VecTVecMultExpr.h:69
System settings for performance optimizations.
Header file for the IsZero type trait.
Header file for basic type definitions.