PCL
pcl::GammaRandomDeviates< RNG > Class Template Reference

Generation of random gamma deviates. More...

#include <Random.h>

Public Member Functions

 GammaRandomDeviates (RNG &R, double shape=1, double scale=1) noexcept(false)
 
double operator() () noexcept
 

Detailed Description

template<class RNG>
class pcl::GammaRandomDeviates< RNG >

Definition at line 845 of file Random.h.

Constructor & Destructor Documentation

◆ GammaRandomDeviates()

template<class RNG >
pcl::GammaRandomDeviates< RNG >::GammaRandomDeviates ( RNG &  R,
double  shape = 1,
double  scale = 1 
)
inlinenoexcept

Constructs a GammaRandomDeviates objects using the specified pseudo-random number generator R.

Definition at line 853 of file Random.h.

Member Function Documentation

◆ operator()()

template<class RNG >
double pcl::GammaRandomDeviates< RNG >::operator() ( )
inlinenoexcept

Returns a random deviate from a Gaussian distribution with zero mean and unit standard deviation.

Definition at line 872 of file Random.h.

References pcl::Ln(), and pcl::Pow().


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