Blaze 3.9
MatNoAliasExpr.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_EXPRESSIONS_MATNOALIASEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_MATNOALIASEXPR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
44
45
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
65template< typename MT > // Matrix base type of the expression
67 : public NoAliasExpr<MT>
68{};
69//*************************************************************************************************
70
71
72
73
74//=================================================================================================
75//
76// GLOBAL RESTRUCTURING FUNCTIONS
77//
78//=================================================================================================
79
80//*************************************************************************************************
91template< typename MT > // Matrix base type of the expression
92inline decltype(auto) noalias( const MatNoAliasExpr<MT>& matrix )
93{
94 return *matrix;
95}
97//*************************************************************************************************
98
99} // namespace blaze
100
101#endif
Header file for the NoAliasExpr base class.
decltype(auto) noalias(const DenseMatrix< MT, SO > &dm)
Forces the non-aliased evaluation of the given dense matrix expression dm.
Definition: DMatNoAliasExpr.h:679
Base class for all matrix no-alias expression templates.
Definition: MatNoAliasExpr.h:68
Base class for all no-alias expression templates.
Definition: NoAliasExpr.h:68