NeoPZ
|
#include <TPZNormalRandom.h>
Public Member Functions | |
TPZNormalRandom (TVar mean, TVar stdev) | |
TPZNormalRandom (const TPZNormalRandom &orig) | |
virtual TPZRandom< TVar > * | clone () |
virtual TVar | next () |
TVar | cdf (TVar x) |
TVar | pdf (TVar x) |
virtual | ~TPZNormalRandom () |
Public Member Functions inherited from TPZRandom< TVar > | |
TPZRandom () | |
TPZRandom (const TPZRandom< TVar > &orig) | |
virtual | ~TPZRandom () |
Protected Attributes | |
TVar | mean |
TVar | stdev |
Private Attributes | |
std::function< TVar()> | generator |
Definition at line 17 of file TPZNormalRandom.h.
|
inline |
Definition at line 19 of file TPZNormalRandom.h.
|
inline |
Definition at line 23 of file TPZNormalRandom.h.
|
inlinevirtual |
Definition at line 43 of file TPZNormalRandom.h.
|
inline |
Definition at line 35 of file TPZNormalRandom.h.
References erf(), TPZNormalRandom< TVar >::mean, and TPZNormalRandom< TVar >::stdev.
Referenced by TPZConstrainedNormalRandom< TVar >::pdf().
|
inlinevirtual |
Implements TPZRandom< TVar >.
Reimplemented in TPZConstrainedNormalRandom< TVar >.
Definition at line 27 of file TPZNormalRandom.h.
|
inlinevirtual |
Implements TPZRandom< TVar >.
Reimplemented in TPZConstrainedNormalRandom< TVar >.
Definition at line 31 of file TPZNormalRandom.h.
References TPZNormalRandom< TVar >::generator.
Referenced by TPZConstrainedNormalRandom< TVar >::next().
|
inlinevirtual |
Implements TPZRandom< TVar >.
Definition at line 39 of file TPZNormalRandom.h.
References exp, TPZNormalRandom< TVar >::mean, pow(), sqrt, and TPZNormalRandom< TVar >::stdev.
Referenced by TPZConstrainedNormalRandom< TVar >::pdf().
|
private |
Definition at line 49 of file TPZNormalRandom.h.
Referenced by TPZNormalRandom< TVar >::next().
|
protected |
Definition at line 47 of file TPZNormalRandom.h.
Referenced by TPZNormalRandom< TVar >::cdf(), and TPZNormalRandom< TVar >::pdf().
|
protected |
Definition at line 47 of file TPZNormalRandom.h.
Referenced by TPZNormalRandom< TVar >::cdf(), and TPZNormalRandom< TVar >::pdf().