Blaze 3.9
MatSerialExpr.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_EXPRESSIONS_MATSERIALEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_MATSERIALEXPR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
44
45
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
66template< typename MT > // Matrix base type of the expression
68 : public SerialExpr<MT>
69{};
70//*************************************************************************************************
71
72
73
74
75//=================================================================================================
76//
77// GLOBAL RESTRUCTURING FUNCTIONS
78//
79//=================================================================================================
80
81//*************************************************************************************************
92template< typename MT > // Matrix base type of the expression
93inline decltype(auto) serial( const MatSerialExpr<MT>& matrix )
94{
95 return *matrix;
96}
98//*************************************************************************************************
99
100} // namespace blaze
101
102#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
Base class for all matrix serial evaluation expression templates.
Definition: MatSerialExpr.h:69
Base class for all serial evaluation expression templates.
Definition: SerialExpr.h:68