DGtal 1.3.0
Loading...
Searching...
No Matches
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)
35#define CDynamicVector_RECURSES
36
37#if !defined CDynamicVector_h
39#define CDynamicVector_h
40
42// Inclusions
43#include <iostream>
44#include "DGtal/base/Common.h"
45#include "DGtal/math/linalg/CVector.h"
47
48namespace DGtal
49{
50namespace concepts
51{
53// class CDynamicVector
87template <typename T>
89{
90 // ----------------------- Concept checks ------------------------------
91public:
92 typedef typename T::Index Index;
93
95 {
96 T zz(i);
97 }
98 // ------------------------- Private Datas --------------------------------
99private:
101
102 // ------------------------- Internals ------------------------------------
103private:
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 is the top-level namespace which contains all DGtal functions and types.
Aim: Represent any dynamic sized column vector having sparse or dense representation.
Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
Definition: CVector.h:91