You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
basics
vectorsMatricesForward.hh
Go to the documentation of this file.
1
6
#ifndef vectMatrForward_hh
7
#define vectMatrForward_hh
8
9
#include "
typedefs.hh
"
10
11
namespace
concepts
{
12
13
// forward declarations
14
template
<
class
F, u
int
Dim>
15
class
Point;
16
17
typedef
Point<Real, 1>
Real1d;
18
typedef
Point<Real, 2> Real2d;
19
typedef
Point<Real, 3> Real3d;
20
typedef
Point<Cmplx, 1>
Cmplx1d;
21
typedef
Point<Cmplx, 2> Cmplx2d;
22
typedef
Point<Cmplx, 3>
Cmplx3d;
23
24
template
<u
int
Dim>
25
class
UnitNd;
26
27
typedef
UnitNd<1>
Unit1d;
28
typedef
UnitNd<2> Unit2d;
29
typedef
UnitNd<3>
Unit3d;
30
31
template
<
class
F, u
int
DimY, u
int
DimX>
32
class
Mapping;
33
34
// template<class F, uint Dim... Dimensions>
35
// class Mapping;
36
37
38
// Version that does not compile
39
/*
40
template<class F, uint Dim>
41
class Mapping<F, Dim> : public Mapping<F, Dim, Dim> {};*/
42
43
// typedef Mapping<Real, 2> MapReal2d;
44
// typedef Mapping<Real, 3> MapReal3d;
45
// typedef Mapping<Cmplx, 2> MapCmplx2d;
46
// typedef Mapping<Cmplx, 3> MapCmplx3d;
47
48
49
50
// Version that compiles (including tests in trunk/basics/ but not in trunk/)
51
52
// template<class F, uint Dim>
53
// class Mapping<F, Dim> : public Mapping<F, Dim, Dim> {};
54
//
55
// typedef Mapping<Real, 2, 2> MapReal2d;
56
// typedef Mapping<Real, 3, 3> MapReal3d;
57
// typedef Mapping<Cmplx, 2, 2> MapCmplx2d;
58
// typedef Mapping<Cmplx, 3, 3> MapCmplx3d;
59
60
61
62
// // Version that compiles (including tests in trunk/basics/ but not in trunk/)
63
//
64
// template <class F, uint DimY, uint DimX=DimY>
65
// using MappingNew = Mapping<F, DimY, DimX>;
66
//
67
// typedef MappingNew<Real, 2> MapReal2d;
68
// typedef MappingNew<Real, 3> MapReal3d;
69
// typedef MappingNew<Cmplx, 2> MapCmplx2d;
70
// typedef MappingNew<Cmplx, 3> MapCmplx3d;
71
72
}
// namespace concepts
73
74
#endif
// vectMatrForward_hh
concepts
Definition
pml_formula.h:16
concepts::makeSet
Set< F > makeSet(uint n, const F &first,...)
Definition
set.hh:320
typedefs.hh
Generated on Wed Sep 13 2023 21:06:17 for Concepts by
1.9.8