35 #ifndef _BLAZE_MATH_SMP_DEFAULT_DENSEVECTOR_H_ 36 #define _BLAZE_MATH_SMP_DEFAULT_DENSEVECTOR_H_ 64 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
65 inline EnableIf_< IsDenseVector<VT1> >
66 smpAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
68 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
69 inline EnableIf_< IsDenseVector<VT1> >
70 smpAddAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
72 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
73 inline EnableIf_< IsDenseVector<VT1> >
74 smpSubAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
76 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
77 inline EnableIf_< IsDenseVector<VT1> >
78 smpMultAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
80 template<
typename VT1,
bool TF1,
typename VT2,
bool TF2 >
81 inline EnableIf_< IsDenseVector<VT1> >
82 smpDivAssign( Vector<VT1,TF1>& lhs,
const Vector<VT2,TF2>& rhs );
101 template<
typename VT1
105 inline EnableIf_< IsDenseVector<VT1> >
111 assign( ~lhs, ~rhs );
130 template<
typename VT1
140 addAssign( ~lhs, ~rhs );
159 template<
typename VT1
169 subAssign( ~lhs, ~rhs );
188 template<
typename VT1
198 multAssign( ~lhs, ~rhs );
217 template<
typename VT1
227 divAssign( ~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: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
Header file for the DenseVector base class.
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
#define BLAZE_HPX_PARALLEL_MODE
Compilation switch for the HPX parallelization.This compilation switch enables/disables the paralleli...
Definition: SMP.h:148
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
System settings for the shared-memory parallelization.
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
#define BLAZE_CPP_THREADS_PARALLEL_MODE
Compilation switch for the C++11 parallelization.This compilation switch enables/disables the paralle...
Definition: SMP.h:95
Header file for the EnableIf class template.
Header file for run time assertion macros.
EnableIf_< IsDenseVector< VT1 > > smpDivAssign(Vector< VT1, TF1 > &lhs, const Vector< VT2, TF2 > &rhs)
Default implementation of the SMP division assignment of a vector to a dense vector.
Definition: DenseVector.h:222
#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
Header file for the IsDenseVector type trait.
Base class for N-dimensional vectors.The Vector class is a base class for all arbitrarily sized (N-di...
Definition: Forward.h:177
#define BLAZE_OPENMP_PARALLEL_MODE
Compilation switch for the OpenMP parallelization.This compilation switch enables/disables the OpenMP...
Definition: SMP.h:67
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.In case of an invalid compile time expression, a compilation error is cr...
Definition: StaticAssert.h:112
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.