QDP++
qdp_forward.h
Go to the documentation of this file.
1// -*- C++ -*-
2
6
7namespace QDP
8{
9
10 // IO
11 class TextReader;
12 class TextWriter;
13 class BinaryReader;
14 class BinaryWriter;
15
16
17 // Forward declarations
19 template<class T1, class T2>
20 inline void
21 fill_random(float& d, T1& seed, T2& skewed_seed, const T1& seed_mult);
22
24 template<class T1, class T2>
25 inline void
26 fill_random(double& d, T1& seed, T2& skewed_seed, const T1& seed_mult);
27
29 template<class T1, class T2, int N>
30 inline void
31 fill_random(float* d, T1& seed, T2& skewed_seed, const T1& seed_mult);
32
34 template<class T1, class T2, int N>
35 inline void
36 fill_random(double* d, T1& seed, T2& skewed_seed, const T1& seed_mult);
37
38
39 namespace RNG
40 {
41// float sranf(Seed&, Seed&, const Seed&);
42 }
43
44
45 // Inner
46 template<class T> class IScalar;
47 template<class T, int N> class ILattice;
48
49 // Reality
50 template<class T> class RScalar;
51 template<class T> class RComplex;
52
53 // Primitives
54 template<class T> class PScalar;
55 template <class T, int N, template<class,int> class C> class PMatrix;
56 template <class T, int N, template<class,int> class C> class PVector;
57 template <class T, int N> class PColorVector;
58 template <class T, int N> class PSpinVector;
59 template <class T, int N> class PColorMatrix;
60 template <class T, int N> class PSpinMatrix;
61 template <class T> class PSeed;
62
63 template<int N> class GammaType;
64 template<int N, int m> class GammaConst;
65
66 template<int N> class GammaTypeDP;
67 template<int N, int m> class GammaConstDP;
68
69 // Outer
70 template<class T> class OScalar;
71 template<class T> class OLattice;
72
73 // Outer types narrowed to a subset
74 template<class T> class OSubScalar;
75 template<class T> class OSubLattice;
76
77 // Main type
78 template<class T, class C> class QDPType;
79
80 // Expression class for QDP
81 template<class T, class C> class QDPExpr;
82
83 // Main type narrowed to a subset
84 template<class T, class C> class QDPSubType;
85
86 // Simple scalar trait class
87 template<class T> struct SimpleScalar;
88 template<class T> struct InternalScalar;
89 template<class T> struct LatticeScalar;
90 template<class T> struct PrimitiveScalar;
91 template<class T> struct RealScalar;
92 template<class T> struct WordType;
93 template<class T> struct SinglePrecType;
94 template<class T> struct DoublePrecType;
95
96 // Empty leaf functor tag
97 struct ElemLeaf
98 {
99 inline ElemLeaf() { }
100 };
101
102 // Empty print tag
103 struct PrintTag;
104
105 // Used for nearest neighbor shift (a map)
106 class ArrayBiDirectionalMap;
107
108
109} // namespace QDP
110
111
Binary input base class.
Definition qdp_io.h:372
Binary writer base class.
Definition qdp_io.h:1010
Scalar inner lattice.
Definition qdp_inner.h:25
Outer grid Lattice type.
Definition qdp_outer.h:264
Outer grid Scalar class *‍/.
Definition qdp_outer.h:37
OLattice class narrowed to a subset.
OScalar class narrowed to a subset.
Primitive color Matrix class.
Primitive color Vector class.
Primitive Matrix class.
Primitive Scalar.
Primitive Seed class.
Primitive Spin Matrix class.
Primitive spin Vector class.
Primitive Vector class.
Expression class for QDP.
Definition qdp_qdpexpr.h:16
QDPSubType - type representing a field living on a subset.
QDPType - major type class/container for all QDP objects.
Definition qdp_qdptype.h:29
Reality complex.
Scalar reality (not complex).
Definition qdp_reality.h:28
Text input class.
Definition qdp_io.h:42
Text output base class.
Definition qdp_io.h:203
OLattice< PScalar< PColorMatrix< RComplexFloat, 3 > > > C
Random number generator namespace.
Definition qdp_random.cc:18
Yet another random number generator.
void fill_random(float &d, T1 &seed, T2 &skewed_seed, const T1 &seed_mult)
dest = random
Definition qdp_random.h:54
Construct simple word type used at some level within primitives.
Definition qdp_traits.h:98
Makes a lattice scalar leaving primitive indices alone.
Definition qdp_traits.h:108
Makes a primitive scalar leaving grid alone.
Definition qdp_traits.h:103
Construct simple word type used at some level within primitives.
Definition qdp_traits.h:113
Construct simple word type. Default behavior is empty.
Definition qdp_traits.h:93
Find the underlying word type of a field.
Definition qdp_traits.h:29