DGtal  0.9.2
CDynamicMatrix.h
1 
17 #pragma once
18 
31 #if defined(CDynamicMatrix_RECURSES)
32 #error Recursive header files inclusion detected in CDynamicMatrix.h
33 #else // defined(CDynamicMatrix_RECURSES)
34 
35 #define CDynamicMatrix_RECURSES
36 
37 #if !defined CDynamicMatrix_h
38 
39 #define CDynamicMatrix_h
40 
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
45 #include "DGtal/math/linalg/CMatrix.h"
47 
48 namespace DGtal
49 {
50 namespace concepts
51 {
53 // class CDynamicMatrix
87 template <typename T>
89 {
90  // ----------------------- Concept checks ------------------------------
91 public:
92  typedef typename T::Index Index;
93 
95  {
96  T xx(i, j);
97  }
98  // ------------------------- Private Datas --------------------------------
99 private:
100  Index i, j;
101 
102  // ------------------------- Internals ------------------------------------
103 private:
104 
105 }; // end of concept CDynamicMatrix
106 }
107 } // namespace DGtal
108 
109 // //
111 
112 #endif // !defined CDynamicMatrix_h
113 
114 #undef CDynamicMatrix_RECURSES
115 #endif // else defined(CDynamicMatrix_RECURSES)
Aim: Represent any dynamic sized matrix having sparse or dense representation.
Aim: Represent any static or dynamic sized matrix having sparse or dense representation.
Definition: CMatrix.h:90
DGtal is the top-level namespace which contains all DGtal functions and types.