Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
views
elements
BaseTemplate.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_VIEWS_ELEMENTS_BASETEMPLATE_H_
36
#define _BLAZE_MATH_VIEWS_ELEMENTS_BASETEMPLATE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/typetraits/IsDenseVector.h
>
44
#include <
blaze/math/typetraits/IsRowVector.h
>
45
#include <
blaze/util/Types.h
>
46
47
48
namespace
blaze {
49
50
//=================================================================================================
51
//
52
// ::blaze NAMESPACE FORWARD DECLARATIONS
53
//
54
//=================================================================================================
55
56
//*************************************************************************************************
61
template
<
typename
VT
// Type of the vector
62
,
bool
TF =
IsRowVector_v<VT>
// Transpose flag
63
,
bool
DF =
IsDenseVector_v<VT>
// Density flag
64
,
typename
... CEAs >
// Compile time element arguments
65
class
Elements
66
{};
68
//*************************************************************************************************
69
70
71
72
73
//=================================================================================================
74
//
75
// ALIAS DECLARATIONS
76
//
77
//=================================================================================================
78
79
//*************************************************************************************************
87
template
<
typename
VT
// Type of the vector
88
,
typename
... CEAs >
// Compile time element arguments
89
using
Elements_ = Elements< VT
90
,
IsRowVector_v<VT>
91
,
IsDenseVector_v<VT>
92
, CEAs... >;
94
//*************************************************************************************************
95
96
}
// namespace blaze
97
98
#endif
IsDenseVector.h
Header file for the IsDenseVector type trait.
IsRowVector.h
Header file for the IsRowVector type trait.
blaze::IsRowVector_v
constexpr bool IsRowVector_v
Auxiliary variable template for the IsRowVector type trait.
Definition
IsRowVector.h:126
blaze::IsDenseVector_v
constexpr bool IsDenseVector_v
Auxiliary variable template for the IsDenseVector type trait.
Definition
IsDenseVector.h:124
Types.h
Header file for basic type definitions.
Generated by
1.18.0