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 
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
Alignment flag for (un-)aligned vectors and matrices.Via these flags it is possible to specify subvec...
Definition: AlignmentFlag.h:62
Header file for the alignment flag values.
Header file for basic type definitions.
Header file for the IsRowVector type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IsDenseVector type trait.
Flag for unaligned vectors and matrices.
Definition: AlignmentFlag.h:64