Blaze 3.9
VecSerialExpr.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_EXPRESSIONS_VECSERIALEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_VECSERIALEXPR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
44
45
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
66template< typename VT > // Vector base type of the expression
68 : public SerialExpr<VT>
69{};
70//*************************************************************************************************
71
72
73
74
75//=================================================================================================
76//
77// GLOBAL RESTRUCTURING FUNCTIONS
78//
79//=================================================================================================
80
81//*************************************************************************************************
92template< typename VT > // Vector base type of the expression
93inline decltype(auto) serial( const VecSerialExpr<VT>& vector )
94{
96
97 return *vector;
98}
100//*************************************************************************************************
101
102} // namespace blaze
103
104#endif
Header file for the SerialExpr base class.
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:812
#define BLAZE_FUNCTION_TRACE
Function trace macro.
Definition: FunctionTrace.h:94
Base class for all serial evaluation expression templates.
Definition: SerialExpr.h:68
Base class for all vector serial evaluation expression templates.
Definition: VecSerialExpr.h:69