NeoPZ
TPZRandom.h
Go to the documentation of this file.
1 /*
2  * File: TPZRandom.h
3  * Author: quinelato
4  *
5  * Created on 5 de Dezembro de 2017, 11:03
6  */
7 
8 #ifndef TPZRANDOM_H
9 #define TPZRANDOM_H
10 
11 #include "pzreal.h"
12 
13 template <typename TVar>
14 class TPZRandom {
15 public:
17 
18  }
19 
20  TPZRandom(const TPZRandom<TVar>& orig){
21 
22  }
23 
24  virtual TPZRandom<TVar> *clone() = 0;
25  virtual TVar next() = 0;
26  virtual TVar pdf(TVar x) = 0;
27  virtual ~TPZRandom(){
28 
29  }
30 protected :
31 };
32 
33 #endif /* TPZRANDOM_H */
34 
virtual TPZRandom< TVar > * clone()=0
TPZRandom()
Definition: TPZRandom.h:16
virtual TVar next()=0
virtual TVar pdf(TVar x)=0
virtual ~TPZRandom()
Definition: TPZRandom.h:27
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
TPZRandom(const TPZRandom< TVar > &orig)
Definition: TPZRandom.h:20