35 #ifndef _BLAZE_MATH_EXPRESSIONS_TSMATSMATMULTEXPR_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_TSMATSMATMULTEXPR_H_ 104 template<
typename MT1
106 class TSMatSMatMultExpr
107 :
public MatMatMultExpr< SparseMatrix< TSMatSMatMultExpr<MT1,MT2>, !IsIdentity_v<MT1> > >
108 ,
private Computation
136 template<
typename T1,
typename T2,
typename T3 >
137 static constexpr
bool CanExploitSymmetry_v =
138 ( ( IsRowMajorMatrix_v<T1> && IsSymmetric_v<T2> ) ||
139 ( IsColumnMajorMatrix_v<T1> && IsSymmetric_v<T3> ) );
149 template<
typename T1,
typename T2,
typename T3 >
150 static constexpr
bool IsEvaluationRequired_v =
208 if( IsDiagonal_v<MT1> ) {
211 else if( IsDiagonal_v<MT2> ) {
214 else if( IsTriangular_v<MT1> || IsTriangular_v<MT2> ) {
215 const size_t begin( ( IsUpper_v<MT1> )
216 ?( ( IsLower_v<MT2> )
217 ?(
max( ( IsStrictlyUpper_v<MT1> ? i+1UL : i )
218 , ( IsStrictlyLower_v<MT2> ? j+1UL : j ) ) )
219 :( IsStrictlyUpper_v<MT1> ? i+1UL : i ) )
220 :( ( IsLower_v<MT2> )
221 ?( IsStrictlyLower_v<MT2> ? j+1UL : j )
223 const size_t end( ( IsLower_v<MT1> )
224 ?( ( IsUpper_v<MT2> )
225 ?(
min( ( IsStrictlyLower_v<MT1> ? i : i+1UL )
226 , ( IsStrictlyUpper_v<MT2> ? j : j+1UL ) ) )
227 :( IsStrictlyLower_v<MT1> ? i : i+1UL ) )
228 :( ( IsUpper_v<MT2> )
229 ?( IsStrictlyUpper_v<MT2> ? j : j+1UL )
230 :(
lhs_.columns() ) ) );
254 if( i >=
lhs_.rows() ) {
257 if( j >=
rhs_.columns() ) {
269 inline size_t rows() const noexcept {
280 return rhs_.columns();
289 inline constexpr
size_t nonZeros() const noexcept {
300 inline size_t nonZeros(
size_t i )
const noexcept {
332 template<
typename T >
333 inline bool canAlias(
const T* alias )
const noexcept {
334 return (
lhs_.canAlias( alias ) ||
rhs_.canAlias( alias ) );
344 template<
typename T >
345 inline bool isAliased(
const T* alias )
const noexcept {
346 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
356 return (
rows() *
columns() >= SMP_TSMATSMATMULT_THRESHOLD );
379 template<
typename MT
399 TSMatSMatMultExpr::selectAssignKernel( ~lhs, A, B );
418 template<
typename MT3
421 static inline void selectAssignKernel( MT3& C,
const MT4& A,
const MT5& B )
423 for(
size_t j=0UL; j<A.columns(); ++j ) {
424 const auto lend( A.end(j) );
425 for(
auto lelem=A.begin(j); lelem!=lend; ++lelem ) {
426 const auto rend( B.end(j) );
427 for(
auto relem=B.begin(j); relem!=rend; ++relem )
430 isDefault( C(lelem->index(),relem->index()) ) ) {
431 C(lelem->index(),relem->index()) = lelem->value() * relem->value();
434 C(lelem->index(),relem->index()) += lelem->value() * relem->value();
456 template<
typename MT >
457 friend inline auto assign( SparseMatrix<MT,false>& lhs,
const TSMatSMatMultExpr& rhs )
458 -> DisableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
469 const OppositeType_t<MT1> tmp(
serial( rhs.lhs_ ) );
470 assign( ~lhs, tmp * rhs.rhs_ );
488 template<
typename MT >
489 friend inline auto assign( SparseMatrix<MT,true>& lhs,
const TSMatSMatMultExpr& rhs )
490 -> DisableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
499 const OppositeType_t<MT2> tmp(
serial( rhs.rhs_ ) );
500 assign( ~lhs, rhs.lhs_ * tmp );
520 template<
typename MT >
522 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
531 assign( ~lhs,
trans( rhs.lhs_ ) * rhs.rhs_ );
551 template<
typename MT >
553 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
560 assign( ~lhs, rhs.lhs_ *
trans( rhs.rhs_ ) );
578 template<
typename MT
580 friend inline auto addAssign( DenseMatrix<MT,SO>& lhs,
const TSMatSMatMultExpr& rhs )
581 -> DisableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
598 TSMatSMatMultExpr::selectAddAssignKernel( ~lhs, A, B );
617 template<
typename MT3
620 static inline void selectAddAssignKernel( MT3& C,
const MT4& A,
const MT5& B )
622 for(
size_t j=0UL; j<A.columns(); ++j ) {
623 const auto lend( A.end(j) );
624 for(
auto lelem=A.begin(j); lelem!=lend; ++lelem ) {
625 const auto rend( B.end(j) );
626 for(
auto relem=B.begin(j); relem!=rend; ++relem ) {
627 C(lelem->index(),relem->index()) += lelem->value() * relem->value();
650 template<
typename MT >
651 friend inline auto addAssign( Matrix<MT,false>& lhs,
const TSMatSMatMultExpr& rhs )
652 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
661 addAssign( ~lhs,
trans( rhs.lhs_ ) * rhs.rhs_ );
681 template<
typename MT >
682 friend inline auto addAssign( Matrix<MT,true>& lhs,
const TSMatSMatMultExpr& rhs )
683 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
690 addAssign( ~lhs, rhs.lhs_ *
trans( rhs.rhs_ ) );
712 template<
typename MT
714 friend inline void subAssign( DenseMatrix<MT,SO>& lhs,
const TSMatSMatMultExpr& rhs )
731 TSMatSMatMultExpr::selectSubAssignKernel( ~lhs, A, B );
750 template<
typename MT3
753 static inline void selectSubAssignKernel( MT3& C,
const MT4& A,
const MT5& B )
755 for(
size_t j=0UL; j<A.columns(); ++j ) {
756 const auto lend( A.end(j) );
757 for(
auto lelem=A.begin(j); lelem!=lend; ++lelem ) {
758 const auto rend( B.end(j) );
759 for(
auto relem=B.begin(j); relem!=rend; ++relem ) {
760 C(lelem->index(),relem->index()) -= lelem->value() * relem->value();
783 template<
typename MT >
784 friend inline auto subAssign( Matrix<MT,false>& lhs,
const TSMatSMatMultExpr& rhs )
785 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
794 subAssign( ~lhs,
trans( rhs.lhs_ ) * rhs.rhs_ );
814 template<
typename MT >
815 friend inline auto subAssign( Matrix<MT,true>& lhs,
const TSMatSMatMultExpr& rhs )
816 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
823 subAssign( ~lhs, rhs.lhs_ *
trans( rhs.rhs_ ) );
845 template<
typename MT
847 friend inline void schurAssign( DenseMatrix<MT,SO>& lhs,
const TSMatSMatMultExpr& rhs )
858 schurAssign( ~lhs, tmp );
891 template<
typename MT
894 -> EnableIf_t< IsEvaluationRequired_v<MT,MT1,MT2> >
931 template<
typename MT >
933 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
962 template<
typename MT >
964 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
992 template<
typename MT
995 -> EnableIf_t< IsEvaluationRequired_v<MT,MT1,MT2> >
1032 template<
typename MT >
1034 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
1063 template<
typename MT >
1065 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
1097 template<
typename MT
1100 -> EnableIf_t< IsEvaluationRequired_v<MT,MT1,MT2> >
1137 template<
typename MT >
1139 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
1168 template<
typename MT >
1170 -> EnableIf_t< CanExploitSymmetry_v<MT,MT1,MT2> >
1199 template<
typename MT
1265 template<
typename MT1
1267 ,
DisableIf_t< ( ( IsIdentity_v<MT1> || IsIdentity_v<MT2> ) &&
1268 IsSame_v< ElementType_t<MT1>, ElementType_t<MT2> > ) ||
1269 ( IsIdentity_v<MT1> && IsIdentity_v<MT2> ) ||
1270 ( IsZero_v<MT1> || IsZero_v<MT2> ) >* =
nullptr >
1271 inline const TSMatSMatMultExpr<MT1,MT2>
1272 tsmatsmatmult(
const SparseMatrix<MT1,true>& lhs,
const SparseMatrix<MT2,false>& rhs )
1278 return TSMatSMatMultExpr<MT1,MT2>( ~lhs, ~rhs );
1298 template<
typename MT1
1300 , EnableIf_t< !IsIdentity_v<MT1> && IsIdentity_v<MT2> &&
1301 IsSame_v< ElementType_t<MT1>, ElementType_t<MT2> > >* =
nullptr >
1303 tsmatsmatmult(
const SparseMatrix<MT1,true>& lhs,
const SparseMatrix<MT2,false>& rhs )
1331 template<
typename MT1
1333 , EnableIf_t< IsIdentity_v<MT1> && !IsIdentity_v<MT2> &&
1334 IsSame_v< ElementType_t<MT1>, ElementType_t<MT2> > >* =
nullptr >
1336 tsmatsmatmult(
const SparseMatrix<MT1,true>& lhs,
const SparseMatrix<MT2,false>& rhs )
1363 template<
typename MT1
1365 , EnableIf_t< IsIdentity_v<MT1> && IsIdentity_v<MT2> >* =
nullptr >
1366 inline decltype(
auto)
1367 tsmatsmatmult( const SparseMatrix<MT1,true>& lhs, const SparseMatrix<MT2,false>& rhs )
1375 using ReturnType =
const MultTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1380 return ReturnType( (~lhs).
rows() );
1400 template<
typename MT1
1402 , EnableIf_t< IsZero_v<MT1> || IsZero_v<MT2> >* =
nullptr >
1403 inline decltype(
auto)
1404 tsmatsmatmult( const SparseMatrix<MT1,true>& lhs, const SparseMatrix<MT2,false>& rhs )
1410 using ReturnType =
const MultTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1415 return ReturnType( (~lhs).
rows(), (~rhs).
columns() );
1451 template<
typename MT1
1453 inline decltype(
auto)
1462 return tsmatsmatmult( ~lhs, ~rhs );
Constraint on the data type.
#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.
ResultType_t< MT2 > RT2
Result type of the right-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:113
decltype(auto) column(Matrix< MT, SO > &matrix, RCAs... args)
Creating a view on a specific column of the given matrix.
Definition: Column.h:133
Headerfile for the generic min algorithm.
Header file for the blaze::checked and blaze::unchecked instances.
#define BLAZE_CONSTRAINT_MUST_BE_IDENTITY_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not an identity matrix type,...
Definition: Identity.h:60
If_t< IsExpression_v< MT2 >, const MT2, const MT2 & > RightOperand
Composite type of the right-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:174
CompositeType_t< MT2 > CT2
Composite type of the right-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:115
Header file for basic type definitions.
typename If< Condition, T1, T2 >::Type If_t
Auxiliary alias template for the If class template.The If_t alias template provides a convenient shor...
Definition: If.h:109
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: TSMatSMatMultExpr.h:204
typename T::ResultType ResultType_t
Alias declaration for nested ResultType type definitions.The ResultType_t alias declaration provides ...
Definition: Aliases.h:390
Header file for the serial shim.
#define BLAZE_CONSTRAINT_MUST_BE_MATRIX_WITH_STORAGE_ORDER(T, SO)
Constraint on the data type.In case the given data type T is not a dense or sparse matrix type and in...
Definition: StorageOrder.h:63
Header file for the IsDiagonal type trait.
MT::Iterator begin(Matrix< MT, SO > &matrix, size_t i)
Returns an iterator to the first element of row/column i.
Definition: Matrix.h:372
Header file for the IsColumnMajorMatrix type trait.
LeftOperand leftOperand() const noexcept
Returns the left-hand side transpose sparse matrix operand.
Definition: TSMatSMatMultExpr.h:311
constexpr Unchecked unchecked
Global Unchecked instance.The blaze::unchecked instance is an optional token for the creation of view...
Definition: Check.h:138
Constraint on the data type.
decltype(auto) subvector(Vector< VT, TF > &, RSAs...)
Creating a view on a specific subvector of the given vector.
Definition: Subvector.h:154
Header file for the MAYBE_UNUSED function template.
Header file for the IsIdentity type trait.
const ResultType CompositeType
Data type for composite expression templates.
Definition: TSMatSMatMultExpr.h:168
Header file for the Computation base class.
Header file for the MatMatMultExpr base class.
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition: TSMatSMatMultExpr.h:253
Constraints on the storage order of matrix types.
Header file for the RequiresEvaluation type trait.
constexpr size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:514
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes....
Definition: DenseMatrix.h:81
Base class for sparse matrices.The SparseMatrix class is a base class for all sparse matrix classes....
Definition: Forward.h:145
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.The ElementType_t alias declaration provide...
Definition: Aliases.h:170
Header file for the SparseMatrix base class.
Constraint on the data type.
RightOperand rightOperand() const noexcept
Returns the right-hand side sparse matrix operand.
Definition: TSMatSMatMultExpr.h:321
static constexpr bool evaluateLeft
Compilation switch for the composite type of the left-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:120
constexpr bool IsResizable_v
Auxiliary variable template for the IsResizable type trait.The IsResizable_v variable template provid...
Definition: IsResizable.h:133
Headerfile for the generic max algorithm.
Header file for the DisableIf class template.
Header file for the multiplication trait.
Header file for the IsStrictlyUpper type trait.
static constexpr bool smpAssignable
Compilation switch for the expression template assignment strategy.
Definition: TSMatSMatMultExpr.h:179
Header file for the IsSymmetric type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the If class template.
OppositeType_t< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: TSMatSMatMultExpr.h:164
bool canSMPAssign() const noexcept
Returns whether the expression can be used in SMP assignments.
Definition: TSMatSMatMultExpr.h:355
#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
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: TSMatSMatMultExpr.h:269
#define BLAZE_CONSTRAINT_MUST_BE_ZERO_TYPE(T)
Constraint on the data type.In case the given data type T is not a zero vector or matrix type,...
Definition: Zero.h:61
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:1162
#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
TransposeType_t< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition: TSMatSMatMultExpr.h:165
Header file for the IsLower type trait.
constexpr void MAYBE_UNUSED(const Args &...)
Suppression of unused parameter warnings.
Definition: MaybeUnused.h:81
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: TSMatSMatMultExpr.h:279
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition: TSMatSMatMultExpr.h:345
Header file for the IsTriangular type trait.
Header file for the exception macros of the math module.
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:1198
const ElementType ReturnType
Return type for expression template evaluations.
Definition: TSMatSMatMultExpr.h:167
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:438
Constraint on the data type.
constexpr size_t nonZeros() const noexcept
Returns the number of non-zero elements in the sparse matrix.
Definition: TSMatSMatMultExpr.h:289
MultTrait_t< RT1, RT2 > ResultType
Result type for expression template evaluations.
Definition: TSMatSMatMultExpr.h:163
Header file for the EnableIf class template.
Header file for the IsStrictlyLower type trait.
CompositeType_t< MT1 > CT1
Composite type of the left-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:114
#define BLAZE_CONSTRAINT_MUST_FORM_VALID_MATMATMULTEXPR(T1, T2)
Constraint on the data type.In case the given data types T1 and T2 do not form a valid matrix/matrix ...
Definition: MatMatMultExpr.h:103
typename MultTrait< T1, T2 >::Type MultTrait_t
Auxiliary alias declaration for the MultTrait class template.The MultTrait_t alias declaration provid...
Definition: MultTrait.h:240
typename T::OppositeType OppositeType_t
Alias declaration for nested OppositeType type definitions.The OppositeType_t alias declaration provi...
Definition: Aliases.h:270
#define BLAZE_CONSTRAINT_MUST_NOT_BE_SYMMETRIC_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is a symmetric matrix type,...
Definition: Symmetric.h:79
TSMatSMatMultExpr(const MT1 &lhs, const MT2 &rhs) noexcept
Constructor for the TSMatSMatMultExpr class.
Definition: TSMatSMatMultExpr.h:189
#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
If_t< IsExpression_v< MT1 >, const MT1, const MT1 & > LeftOperand
Composite type of the left-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:171
typename T::TransposeType TransposeType_t
Alias declaration for nested TransposeType type definitions.The TransposeType_t alias declaration pro...
Definition: Aliases.h:470
Header file for run time assertion macros.
typename T::CompositeType CompositeType_t
Alias declaration for nested CompositeType type definitions.The CompositeType_t alias declaration pro...
Definition: Aliases.h:90
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition: TSMatSMatMultExpr.h:333
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
ResultType_t< MT1 > RT1
Result type of the left-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:112
decltype(auto) row(Matrix< MT, SO > &, RRAs...)
Creating a view on a specific row of the given matrix.
Definition: Row.h:133
Header file for the IsZero type trait.
#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
Header file for all forward declarations for expression class templates.
Header file for the isDefault shim.
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
Constraint on the data type.
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:808
#define BLAZE_CONSTRAINT_MUST_NOT_REQUIRE_EVALUATION(T)
Constraint on the data type.In case the given data type T requires an intermediate evaluation within ...
Definition: RequiresEvaluation.h:81
auto smpSchurAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs) -> EnableIf_t< IsDenseMatrix_v< MT1 > >
Default implementation of the SMP Schur product assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:194
constexpr size_t rows(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of rows of the matrix.
Definition: Matrix.h:498
Expression object for transpose sparse matrix-sparse matrix multiplications.The TSMatSMatMultExpr cla...
Definition: Forward.h:184
decltype(auto) trans(const DenseMatrix< MT, SO > &dm)
Calculation of the transpose of the given dense matrix.
Definition: DMatTransExpr.h:765
size_t nonZeros(size_t i) const noexcept
Returns the number of non-zero elements in the specified row.
Definition: TSMatSMatMultExpr.h:300
Header file for the IsRowMajorMatrix type trait.
LeftOperand lhs_
Left-hand side sparse matrix of the multiplication expression.
Definition: TSMatSMatMultExpr.h:362
ElementType_t< ResultType > ElementType
Resulting element type.
Definition: TSMatSMatMultExpr.h:166
Header file for the IsComputation type trait class.
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
Header file for the IntegralConstant class template.
bool isDefault(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is in default state.
Definition: DiagonalProxy.h:635
static constexpr bool evaluateRight
Compilation switch for the composite type of the right-hand side sparse matrix expression.
Definition: TSMatSMatMultExpr.h:125
Header file for the IsUpper type trait.
typename DisableIf< Condition, T >::Type DisableIf_t
Auxiliary type for the DisableIf class template.The DisableIf_t alias declaration provides a convenie...
Definition: DisableIf.h:138
Constraint on the data type.
RightOperand rhs_
Right-hand side sparse matrix of the multiplication expression.
Definition: TSMatSMatMultExpr.h:363
Header file for the IsResizable type trait.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_ZERO_TYPE(T)
Constraint on the data type.In case the given data type T is a zero vector or matrix type,...
Definition: Zero.h:81
Header file for the thresholds for matrix/vector and matrix/matrix multiplications.
constexpr bool IsSame_v
Auxiliary variable template for the IsSame type trait.The IsSame_v variable template provides a conve...
Definition: IsSame.h:159
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.In case of an invalid run time expression,...
Definition: Assert.h:101
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a sparse, N-dimensional matrix type,...
Definition: SparseMatrix.h:61
Header file for the IsExpression type trait class.
Header file for the function trace functionality.