Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
views
subvector
BaseTemplate.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_VIEWS_SUBVECTOR_BASETEMPLATE_H_
36
#define _BLAZE_MATH_VIEWS_SUBVECTOR_BASETEMPLATE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/AlignmentFlag.h
>
44
#include <
blaze/math/typetraits/IsDenseVector.h
>
45
#include <
blaze/math/typetraits/IsRowVector.h
>
46
#include <
blaze/util/Types.h
>
47
48
49
namespace
blaze {
50
51
//=================================================================================================
52
//
53
// ::blaze NAMESPACE FORWARD DECLARATIONS
54
//
55
//=================================================================================================
56
57
//*************************************************************************************************
62
template
<
typename
VT
// Type of the vector
63
,
AlignmentFlag
AF =
unaligned
// Alignment flag
64
,
bool
TF =
IsRowVector_v<VT>
// Transpose flag
65
,
bool
DF =
IsDenseVector_v<VT>
// Density flag
66
,
size_t
... CSAs >
// Compile time subvector arguments
67
class
Subvector
68
{};
70
//*************************************************************************************************
71
72
73
74
75
//=================================================================================================
76
//
77
// ALIAS DECLARATIONS
78
//
79
//=================================================================================================
80
81
//*************************************************************************************************
89
template
<
typename
VT
// Type of the vector
90
,
AlignmentFlag
AF =
unaligned
// Alignment flag
91
,
size_t
... CSAs >
// Compile time subvector arguments
92
using
Subvector_ = Subvector< VT
93
, AF
94
,
IsRowVector_v<VT>
95
,
IsDenseVector_v<VT>
96
, CSAs... >;
98
//*************************************************************************************************
99
100
}
// namespace blaze
101
102
#endif
AlignmentFlag.h
Header file for the alignment flag enumeration.
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
blaze::AlignmentFlag
AlignmentFlag
Alignment flag for (un-)aligned vectors and matrices.
Definition
AlignmentFlag.h:63
blaze::unaligned
@ unaligned
Flag for unaligned vectors and matrices.
Definition
AlignmentFlag.h:64
Types.h
Header file for basic type definitions.
Generated by
1.18.0