DGtal  0.9.2
CDiscreteExteriorCalculusVectorSpace.h
1 
17 #pragma once
18 
31 #if defined(CDiscreteExteriorCalculusVectorSpace_RECURSES)
32 #error Recursive header files inclusion detected in CDiscreteExteriorCalculusVectorSpace.h
33 #else // defined(CDiscreteExteriorCalculusVectorSpace_RECURSES)
34 
35 #define CDiscreteExteriorCalculusVectorSpace_RECURSES
36 
37 #if !defined CDiscreteExteriorCalculusVectorSpace_h
38 
39 #define CDiscreteExteriorCalculusVectorSpace_h
40 
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
45 #include "DGtal/math/linalg/CVectorSpace.h"
47 
48 namespace DGtal
49 {
50  namespace concepts
51  {
53 // class CDiscreteExteriorCalculusVectorSpace
88 template <typename T>
90 {
91  // ----------------------- Concept checks ------------------------------
92 public:
93  typedef typename T::Container Container;
94  typedef typename T::Calculus Calculus;
95 
97  {
98  T t0(calculus);
99  T t1(calculus, container);
100  }
101  // ------------------------- Private Datas --------------------------------
102 private:
103  Container container;
104  Calculus calculus;
105 
106  // ------------------------- Internals ------------------------------------
107 private:
108 
109 }; // end of concept CDiscreteExteriorCalculusVectorSpace
110  }
111 } // namespace DGtal
112 
113 // //
115 
116 #endif // !defined CDiscreteExteriorCalculusVectorSpace_h
117 
118 #undef CDiscreteExteriorCalculusVectorSpace_RECURSES
119 #endif // else defined(CDiscreteExteriorCalculusVectorSpace_RECURSES)
Aim: Lift linear algebra container concept into the dec package.
Aim: Base concept for vector space structure.
Definition: CVectorSpace.h:93
DGtal is the top-level namespace which contains all DGtal functions and types.