DGtal
1.3.beta
src
DGtal
math
linalg
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>
88
struct
CDynamicVector
:
CVector
<T>
89
{
90
// ----------------------- Concept checks ------------------------------
91
public
:
92
typedef
typename
T::Index
Index
;
93
94
BOOST_CONCEPT_USAGE
(
CDynamicVector
)
95
{
96
T zz(
i
);
97
}
98
// ------------------------- Private Datas --------------------------------
99
private
:
100
Index
i
;
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:88
Index
SMesh::Index Index
Definition:
fullConvexitySphereGeodesics.cpp:117
DGtal::concepts::CVector
Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
Definition:
CVector.h:90
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::concepts::CDynamicVector::Index
T::Index Index
Definition:
CDynamicVector.h:92
DGtal::concepts::CDynamicVector::i
Index i
Definition:
CDynamicVector.h:100
Generated on Mon Jun 20 2022 18:23:23 for DGtal by
1.8.17