35 #ifndef _BLAZE_MATH_SMP_DEFAULT_SPARSEVECTOR_H_
36 #define _BLAZE_MATH_SMP_DEFAULT_SPARSEVECTOR_H_
63 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
64 inline typename EnableIf< IsSparseVector<VT1> >::Type
65 smpAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
67 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
68 inline typename EnableIf< IsSparseVector<VT1> >::Type
69 smpAddAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
71 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
72 inline typename EnableIf< IsSparseVector<VT1> >::Type
73 smpSubAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
75 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
76 inline typename EnableIf< IsSparseVector<VT1> >::Type
77 smpMultAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
96 template<
typename VT1
100 inline typename EnableIf< IsSparseVector<VT1> >::Type
125 template<
typename VT1
129 inline typename EnableIf< IsSparseVector<VT1> >::Type
155 template<
typename VT1
159 inline typename EnableIf< IsSparseVector<VT1> >::Type
185 template<
typename VT1
189 inline typename EnableIf< IsSparseVector<VT1> >::Type
BLAZE_ALWAYS_INLINE void multAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the multiplication assignment of a matrix to a matrix.
Definition: Matrix.h:879
Header file for the SparseVector base class.
BLAZE_ALWAYS_INLINE size_t size(const Vector< VT, TF > &vector)
Returns the current size/dimension of the vector.
Definition: Vector.h:258
BLAZE_ALWAYS_INLINE void assign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the assignment of a matrix to a matrix.
Definition: Matrix.h:635
Header file for the EnableIf class template.
EnableIf< IsDenseMatrix< MT1 > >::Type 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 IsSparseVector type trait.
Header file for run time assertion macros.
EnableIf< IsDenseMatrix< MT1 > >::Type 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 void addAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the addition assignment of a matrix to a matrix.
Definition: Matrix.h:742
Base class for N-dimensional vectors.The Vector class is a base class for all arbitrarily sized (N-di...
Definition: Forward.h:151
EnableIf< IsDenseMatrix< MT1 > >::Type 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
#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
EnableIf< IsDenseVector< VT1 > >::Type 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:189
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 FunctionTrace class.
BLAZE_ALWAYS_INLINE void subAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the subtraction assignment of a matrix to matrix.
Definition: Matrix.h:849