35 #ifndef _BLAZE_MATH_SMP_DEFAULT_SPARSEMATRIX_H_
36 #define _BLAZE_MATH_SMP_DEFAULT_SPARSEMATRIX_H_
62 template<
typename MT1,
bool SO1,
typename MT2,
bool SO2 >
63 inline EnableIf_< IsSparseMatrix<MT1> >
64 smpAssign( Matrix<MT1,SO1>& lhs,
const Matrix<MT2,SO2>& rhs );
66 template<
typename MT1,
bool SO1,
typename MT2,
bool SO2 >
67 inline EnableIf_< IsSparseMatrix<MT1> >
68 smpAddAssign( Matrix<MT1,SO1>& lhs,
const Matrix<MT2,SO2>& rhs );
70 template<
typename MT1,
bool SO1,
typename MT2,
bool SO2 >
71 inline EnableIf_< IsSparseMatrix<MT1> >
72 smpSubAssign( Matrix<MT1,SO1>& lhs,
const Matrix<MT2,SO2>& rhs );
91 template<
typename MT1
95 inline EnableIf_< IsSparseMatrix<MT1> >
103 assign( ~lhs, ~rhs );
122 template<
typename MT1
126 inline EnableIf_< IsSparseMatrix<MT1> >
134 addAssign( ~lhs, ~rhs );
153 template<
typename MT1
157 inline EnableIf_< IsSparseMatrix<MT1> >
165 subAssign( ~lhs, ~rhs );
EnableIf_< IsDenseMatrix< MT1 > > smpSubAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP subtraction assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:160
Header file for the IsSparseMatrix type trait.
EnableIf_< IsDenseMatrix< MT1 > > smpAddAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP addition assignment of a matrix to a dense matrix.
Definition: DenseMatrix.h:129
Header file for the SparseMatrix base class.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
EnableIf_< IsDenseMatrix< MT1 > > smpAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the SMP assignment of a matrix to a dense matrix.
Definition: DenseMatrix.h:98
BLAZE_ALWAYS_INLINE size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:330
Header file for the EnableIf class template.
Header file for the Matrix base class.
Header file for run time assertion macros.
Base class for matrices.The Matrix class is a base class for all dense and sparse matrix classes with...
Definition: Forward.h:89
BLAZE_ALWAYS_INLINE size_t rows(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of rows of the matrix.
Definition: Matrix.h:314
#define BLAZE_FUNCTION_TRACE
Function trace macro.This macro can be used to reliably trace function calls. In case function tracin...
Definition: FunctionTrace.h:157
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.In case of an invalid run time expression, the program execution is terminated. The BLAZE_INTERNAL_ASSERT macro can be disabled by setting the BLAZE_USER_ASSERTION flag to zero or by defining NDEBUG during the compilation.
Definition: Assert.h:101
Header file for the FunctionTrace class.