DGtal  1.1.0
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:
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)
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::Container
T::Container Container
Definition: CDiscreteExteriorCalculusVectorSpace.h:93
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace
Aim: Lift linear algebra container concept into the dec package.
Definition: CDiscreteExteriorCalculusVectorSpace.h:90
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::Calculus
T::Calculus Calculus
Definition: CDiscreteExteriorCalculusVectorSpace.h:94
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition: ClosedIntegerHalfPlane.h:49
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::calculus
Calculus calculus
Definition: CDiscreteExteriorCalculusVectorSpace.h:104
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::container
Container container
Definition: CDiscreteExteriorCalculusVectorSpace.h:103
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CDiscreteExteriorCalculusVectorSpace)
Definition: CDiscreteExteriorCalculusVectorSpace.h:96
DGtal::concepts::CVectorSpace
Aim: Base concept for vector space structure.
Definition: CVectorSpace.h:94