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

#include <TPZUniformRandom.h>

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

Public Member Functions

 TPZUniformRandom (TVar begin, TVar end)
 
 TPZUniformRandom (const TPZUniformRandom< TVar > &orig)
 
virtual TPZRandom< TVar > * clone ()
 
TVar next ()
 
TVar pdf (TVar x)
 
virtual ~TPZUniformRandom ()
 
- Public Member Functions inherited from TPZConstrainedRandom< TVar >
 TPZConstrainedRandom (TVar begin, TVar end)
 
 TPZConstrainedRandom (const TPZConstrainedRandom< TVar > &orig)
 
virtual TVar GetBegin () const
 
virtual TVar GetEnd () const
 
virtual ~TPZConstrainedRandom ()
 
- Public Member Functions inherited from TPZRandom< TVar >
 TPZRandom ()
 
 TPZRandom (const TPZRandom< TVar > &orig)
 
virtual ~TPZRandom ()
 

Protected Attributes

std::function< TVar()> generator
 
- Protected Attributes inherited from TPZConstrainedRandom< TVar >
TVar fbegin
 
TVar fend
 

Detailed Description

template<typename TVar>
class TPZUniformRandom< TVar >

Definition at line 18 of file TPZUniformRandom.h.

Constructor & Destructor Documentation

◆ TPZUniformRandom() [1/2]

template<typename TVar>
TPZUniformRandom< TVar >::TPZUniformRandom ( TVar  begin,
TVar  end 
)
inline

Definition at line 20 of file TPZUniformRandom.h.

◆ TPZUniformRandom() [2/2]

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

Definition at line 22 of file TPZUniformRandom.h.

◆ ~TPZUniformRandom()

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

Definition at line 36 of file TPZUniformRandom.h.

Member Function Documentation

◆ clone()

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

Implements TPZRandom< TVar >.

Definition at line 26 of file TPZUniformRandom.h.

◆ next()

template<typename TVar>
TVar TPZUniformRandom< TVar >::next ( )
inlinevirtual

◆ pdf()

template<typename TVar >
TVar TPZUniformRandom< TVar >::pdf ( TVar  x)
virtual

Member Data Documentation

◆ generator

template<typename TVar>
std::function<TVar()> TPZUniformRandom< TVar >::generator
protected

Definition at line 40 of file TPZUniformRandom.h.

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


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