NeoPZ
Public Member Functions | Protected Attributes | Private Attributes | List of all members
TPZNormalRandom< TVar > Class Template Reference

#include <TPZNormalRandom.h>

Inheritance diagram for TPZNormalRandom< TVar >:
[legend]
Collaboration diagram for TPZNormalRandom< TVar >:
[legend]

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
 

Detailed Description

template<typename TVar>
class TPZNormalRandom< TVar >

Definition at line 17 of file TPZNormalRandom.h.

Constructor & Destructor Documentation

◆ TPZNormalRandom() [1/2]

template<typename TVar>
TPZNormalRandom< TVar >::TPZNormalRandom ( TVar  mean,
TVar  stdev 
)
inline

Definition at line 19 of file TPZNormalRandom.h.

◆ TPZNormalRandom() [2/2]

template<typename TVar>
TPZNormalRandom< TVar >::TPZNormalRandom ( const TPZNormalRandom< TVar > &  orig)
inline

Definition at line 23 of file TPZNormalRandom.h.

◆ ~TPZNormalRandom()

template<typename TVar>
virtual TPZNormalRandom< TVar >::~TPZNormalRandom ( )
inlinevirtual

Definition at line 43 of file TPZNormalRandom.h.

Member Function Documentation

◆ cdf()

template<typename TVar>
TVar TPZNormalRandom< TVar >::cdf ( TVar  x)
inline

◆ clone()

template<typename TVar>
virtual TPZRandom<TVar>* TPZNormalRandom< TVar >::clone ( )
inlinevirtual

Implements TPZRandom< TVar >.

Reimplemented in TPZConstrainedNormalRandom< TVar >.

Definition at line 27 of file TPZNormalRandom.h.

◆ next()

template<typename TVar>
virtual TVar TPZNormalRandom< TVar >::next ( )
inlinevirtual

◆ pdf()

template<typename TVar>
TVar TPZNormalRandom< TVar >::pdf ( TVar  x)
inlinevirtual

Member Data Documentation

◆ generator

template<typename TVar>
std::function<TVar()> TPZNormalRandom< TVar >::generator
private

Definition at line 49 of file TPZNormalRandom.h.

Referenced by TPZNormalRandom< TVar >::next().

◆ mean

template<typename TVar>
TVar TPZNormalRandom< TVar >::mean
protected

Definition at line 47 of file TPZNormalRandom.h.

Referenced by TPZNormalRandom< TVar >::cdf(), and TPZNormalRandom< TVar >::pdf().

◆ stdev

template<typename TVar>
TVar TPZNormalRandom< TVar >::stdev
protected

Definition at line 47 of file TPZNormalRandom.h.

Referenced by TPZNormalRandom< TVar >::cdf(), and TPZNormalRandom< TVar >::pdf().


The documentation for this class was generated from the following file: