35 #ifndef _BLAZE_MATH_SMP_DEFAULT_SPARSEVECTOR_H_ 36 #define _BLAZE_MATH_SMP_DEFAULT_SPARSEVECTOR_H_ 62 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
63 inline EnableIf_< IsSparseVector<VT1> >
64 smpAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
66 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
67 inline EnableIf_< IsSparseVector<VT1> >
68 smpAddAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
70 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
71 inline EnableIf_< IsSparseVector<VT1> >
72 smpSubAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
74 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
75 inline EnableIf_< IsSparseVector<VT1> >
76 smpMultAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
95 template<
typename VT1
99 inline EnableIf_< IsSparseVector<VT1> >
105 assign( ~lhs, ~rhs );
124 template<
typename VT1
134 addAssign( ~lhs, ~rhs );
154 template<
typename VT1
164 subAssign( ~lhs, ~rhs );
184 template<
typename VT1
194 multAssign( ~lhs, ~rhs );
Header file for the SparseVector base class.
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:164
BLAZE_ALWAYS_INLINE size_t size(const Vector< VT, TF > &vector) noexcept
Returns the current size/dimension of the vector.
Definition: Vector.h:265
EnableIf_< IsDenseVector< VT1 > > smpMultAssign(Vector< VT1, TF1 > &lhs, const Vector< VT2, TF2 > &rhs)
Default implementation of the SMP multiplication assignment of a vector to a dense vector...
Definition: DenseVector.h:193
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:133
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:102
Header file for the EnableIf class template.
Header file for the IsSparseVector type trait.
Header file for run time assertion macros.
#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
typename EnableIf< Condition, T >::Type EnableIf_
Auxiliary alias declaration for the EnableIf class template.The EnableIf_ alias declaration provides ...
Definition: EnableIf.h:224
Base class for N-dimensional vectors.The Vector class is a base class for all arbitrarily sized (N-di...
Definition: Forward.h:177
Header file for the Vector CRTP base class.
#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 function trace functionality.