DGtal
1.5.beta
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)
35
#define CDiscreteExteriorCalculusVectorSpace_RECURSES
36
37
#if !defined CDiscreteExteriorCalculusVectorSpace_h
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>
89
struct
CDiscreteExteriorCalculusVectorSpace
:
CVectorSpace
<T>
90
{
91
// ----------------------- Concept checks ------------------------------
92
public
:
93
typedef
typename
T::Container
Container
;
94
typedef
typename
T::Calculus
Calculus
;
95
96
BOOST_CONCEPT_USAGE
(
CDiscreteExteriorCalculusVectorSpace
)
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)
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace
Aim: Lift linear algebra container concept into the dec package.
Definition:
CDiscreteExteriorCalculusVectorSpace.h:90
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::calculus
Calculus calculus
Definition:
CDiscreteExteriorCalculusVectorSpace.h:104
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CDiscreteExteriorCalculusVectorSpace)
Definition:
CDiscreteExteriorCalculusVectorSpace.h:96
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::container
Container container
Definition:
CDiscreteExteriorCalculusVectorSpace.h:103
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::Container
T::Container Container
Definition:
CDiscreteExteriorCalculusVectorSpace.h:93
DGtal::concepts::CDiscreteExteriorCalculusVectorSpace::Calculus
T::Calculus Calculus
Definition:
CDiscreteExteriorCalculusVectorSpace.h:94
DGtal::concepts::CVectorSpace
Aim: Base concept for vector space structure.
Definition:
CVectorSpace.h:93
src
DGtal
dec
CDiscreteExteriorCalculusVectorSpace.h
Generated on Wed Oct 9 2024 10:48:55 for DGtal by
1.9.1