DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
CDynamicVector.h
1
16
17
#pragma once
18
30
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
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 Data --------------------------------
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
Aim: Gathers several functions useful for concept checks.
Definition
CPositiveIrreducibleFraction.h:54
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::concepts::CDynamicVector
Aim: Represent any dynamic sized column vector having sparse or dense representation.
Definition
CDynamicVector.h:89
DGtal::concepts::CDynamicVector::i
Index i
Definition
CDynamicVector.h:100
DGtal::concepts::CDynamicVector::Index
T::Index Index
Definition
CDynamicVector.h:92
DGtal::concepts::CDynamicVector::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CDynamicVector)
Definition
CDynamicVector.h:94
DGtal::concepts::CVector
Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
Definition
CVector.h:91
src
DGtal
math
linalg
CDynamicVector.h
Generated on
for DGtal by
1.18.0