Serial.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_FUNCTORS_SERIAL_H_
36 #define _BLAZE_MATH_FUNCTORS_SERIAL_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/system/Inline.h>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
58 struct Serial
59 {
60  //**********************************************************************************************
66  template< typename T >
67  BLAZE_ALWAYS_INLINE auto operator()( const T& a ) const
68  {
69  return serial( a );
70  }
71  //**********************************************************************************************
72 };
73 //*************************************************************************************************
74 
75 } // namespace blaze
76 
77 #endif
const DMatSerialExpr< MT, SO > serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:723
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Generic wrapper for the Serial() function.
Definition: Serial.h:58
BLAZE_ALWAYS_INLINE auto operator()(const T &a) const
Returns the result of the serial() function for the given object/value.
Definition: Serial.h:67
System settings for the inline keywords.