Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
noiseVector_Z2.h
Go to the documentation of this file.
1 
14 #ifndef NOISEVECTOR_Z2_INCLUDED
15 #define NOISEVECTOR_Z2_INCLUDED
16 
17 #include "noiseVector.h"
18 
19 #include "Tools/randomNumbers.h"
20 
22 
29 {
30  public:
31  static const std::string class_name;
32 
33  private:
35 
36  public:
38  : NoiseVector(), m_rand(rand) {}
39 
41  : NoiseVector(), m_rand(rand.get()) {}
42 
43  void set(Field& v);
44 };
45 #endif
Container of Field-type object.
Definition: field.h:45
RandomNumbers * m_rand
NoiseVector_Z2(unique_ptr< RandomNumbers > &rand)
Base class for noise vector generator.
Definition: noiseVector.h:31
Base class of random number generators.
Definition: randomNumbers.h:43
void set(Field &v)
setting a noise vector.
Z2 Noise vector for a trace calculation.
NoiseVector_Z2(RandomNumbers *rand)
static const std::string class_name