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, uint Dim>
15  class Point;
16 
23 
24  template<uint 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, uint DimY, uint 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
Basic class for a 2D or 3D map.
Point< Cmplx, 3 > Cmplx3d
Basic class for a Point or a vector.
Point< Real, 1 > Real1d
Point< Real, 2 > Real2d
Point< Real, 3 > Real3d
Point< Cmplx, 1 > Cmplx1d
UnitNd< 3 > Unit3d
A vector of dimension dim and length 1.
UnitNd< 2 > Unit2d
Point< Cmplx, 2 > Cmplx2d
UnitNd< 1 > Unit1d
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich