Blaze 3.9
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
46#include <blaze/util/Types.h>
47
48
49namespace blaze {
50
51//=================================================================================================
52//
53// ::blaze NAMESPACE FORWARD DECLARATIONS
54//
55//=================================================================================================
56
57//*************************************************************************************************
62template< 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
67class Subvector
68{};
70//*************************************************************************************************
71
72
73
74
75//=================================================================================================
76//
77// ALIAS DECLARATIONS
78//
79//=================================================================================================
80
81//*************************************************************************************************
89template< typename VT // Type of the vector
90 , AlignmentFlag AF = unaligned // Alignment flag
91 , size_t... CSAs > // Compile time subvector arguments
92using Subvector_ = Subvector< VT
93 , AF
94 , IsRowVector_v<VT>
95 , IsDenseVector_v<VT>
96 , CSAs... >;
98//*************************************************************************************************
99
100} // namespace blaze
101
102#endif
Header file for the alignment flag enumeration.
Header file for the IsDenseVector type trait.
Header file for the IsRowVector type trait.
AlignmentFlag
Alignment flag for (un-)aligned vectors and matrices.
Definition: AlignmentFlag.h:63
@ unaligned
Flag for unaligned vectors and matrices.
Definition: AlignmentFlag.h:64
Header file for basic type definitions.