NeoPZ
Random
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
:
16
TPZRandom
(){
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
TPZRandom
Definition:
TPZRandom.h:14
TPZRandom::clone
virtual TPZRandom< TVar > * clone()=0
TPZRandom::TPZRandom
TPZRandom()
Definition:
TPZRandom.h:16
TPZRandom::next
virtual TVar next()=0
TPZRandom::pdf
virtual TVar pdf(TVar x)=0
TPZRandom::~TPZRandom
virtual ~TPZRandom()
Definition:
TPZRandom.h:27
pzreal.h
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
TPZRandom::TPZRandom
TPZRandom(const TPZRandom< TVar > &orig)
Definition:
TPZRandom.h:20
Generated on Sun Aug 16 2020 11:17:09 for NeoPZ by
1.8.13