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