colorfull is hosted by Hepforge, IPPP Durham
ColorFull  1.1
/data/Documents/eclipse/workspace/ColorFull/types.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*
3  * types.h
4  * Contains the definition of a few types used by ColorFull.
5  * Created on: Jul 7, 2010
6  * Author: Malin Sjodahl
7  */
8 
9 #ifndef COLORFULL_types_h
10 #define COLORFULL_types_h
11 
12 #include <complex>
13 #include <vector>
14 
15 
16 namespace ColorFull {
17 // /////////////// Define a few basic types //////////////////
18 
20 typedef std::complex< double > cnum;
21 
23 typedef std::vector<cnum> cvec;
24 
26 typedef std::vector< std::vector <cnum> > cmatr;
27 
29 typedef std::vector<double> dvec;
30 
32 typedef std::vector< std::vector <double> > dmatr;
33 
35 typedef unsigned int uint;
36 
37 }
38 
39 #endif /* COLORFULL_types_h */
unsigned int uint
An unsigned int.
Definition: types.h:35
std::vector< cnum > cvec
A vector of complex numbers.
Definition: types.h:23
Definition: Col_amp.h:15
std::vector< std::vector< double > > dmatr
A matrix of double numbers.
Definition: types.h:32
std::complex< double > cnum
A complex number, needed as amplitudes in general are complex.
Definition: types.h:20
std::vector< double > dvec
A vector of double numbers.
Definition: types.h:29
std::vector< std::vector< cnum > > cmatr
A matrix of complex numbers.
Definition: types.h:26