Blaze 3.9
BaseTemplate.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_VIEWS_SUBMATRIX_BASETEMPLATE_H_
36#define _BLAZE_MATH_VIEWS_SUBMATRIX_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 MT // Type of the matrix
63 , AlignmentFlag AF = unaligned // Alignment flag
64 , bool SO = IsColumnMajorMatrix_v<MT> // Storage order
65 , bool DF = IsDenseMatrix_v<MT> // Density flag
66 , size_t... CSAs > // Compile time submatrix arguments
67class Submatrix
68{};
70//*************************************************************************************************
71
72
73
74
75//=================================================================================================
76//
77// ALIAS DECLARATIONS
78//
79//=================================================================================================
80
81//*************************************************************************************************
89template< typename MT // Type of the matrix
90 , AlignmentFlag AF = unaligned // Alignment flag
91 , size_t... CSAs > // Compile time submatrix arguments
92using Submatrix_ = Submatrix< MT
93 , AF
94 , IsColumnMajorMatrix_v<MT>
95 , IsDenseMatrix_v<MT>
96 , CSAs... >;
98//*************************************************************************************************
99
100} // namespace blaze
101
102#endif
Header file for the alignment flag enumeration.
Header file for the IsColumnMajorMatrix type trait.
Header file for the IsDenseMatrix 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.