Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
traits
SchurTrait.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TRAITS_SCHURTRAIT_H_
36
#define _BLAZE_MATH_TRAITS_SCHURTRAIT_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <utility>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
56
template
<
typename
,
typename
,
typename
=
void
>
struct
SchurTrait
;
57
template
<
typename
,
typename
,
typename
=
void
>
struct
SchurTraitEval1;
58
template
<
typename
,
typename
,
typename
=
void
>
struct
SchurTraitEval2;
60
//*************************************************************************************************
61
62
63
//*************************************************************************************************
65
template
<
typename
T1,
typename
T2 >
66
auto
evalSchurTrait(
const
volatile
T1&,
const
volatile
T2& ) -> SchurTraitEval1<T1,T2>;
68
//*************************************************************************************************
69
70
71
//*************************************************************************************************
114
template
<
typename
T1
// Type of the left-hand side operand
115
,
typename
T2
// Type of the right-hand side operand
116
,
typename
>
// Restricting condition
117
struct
SchurTrait
118
: decltype( evalSchurTrait( std::declval<T1&>(), std::declval<T2&>() ) )
119
{};
120
//*************************************************************************************************
121
122
123
//*************************************************************************************************
136
template
<
typename
T1,
typename
T2 >
137
using
SchurTrait_t
=
typename
SchurTrait<T1,T2>::Type
;
138
//*************************************************************************************************
139
140
141
//*************************************************************************************************
146
template
<
typename
T1
// Type of the left-hand side operand
147
,
typename
T2
// Type of the right-hand side operand
148
,
typename
>
// Restricting condition
149
struct
SchurTraitEval1
150
:
public
SchurTraitEval2<T1,T2>
151
{};
153
//*************************************************************************************************
154
155
156
//*************************************************************************************************
161
template
<
typename
T1
// Type of the left-hand side operand
162
,
typename
T2
// Type of the right-hand side operand
163
,
typename
>
// Restricting condition
164
struct
SchurTraitEval2
165
{};
167
//*************************************************************************************************
168
169
}
// namespace blaze
170
171
#endif
blaze::SchurTrait_t
typename SchurTrait< T1, T2 >::Type SchurTrait_t
Auxiliary alias declaration for the SchurTrait class template.
Definition
SchurTrait.h:137
blaze::SchurTrait
Base template for the SchurTrait class.
Definition
SchurTrait.h:119
Generated by
1.18.0