|
IPPL (Independent Parallel Particle Layer)
IPPL
|
Namespaces | |
| namespace | detail |
Classes | |
| class | Distribution |
| The class that represents a distribution. More... | |
| class | InverseTransformSampling |
| A class for inverse transform sampling. More... | |
| struct | normal_cdf |
| Functor to calculate the cumulative distribution function (CDF) for a normal distribution. More... | |
| struct | normal_pdf |
| Functor to calculate the probability density function (PDF) for a normal distribution. More... | |
| struct | normal_estimate |
| Functor to estimate the initial guess for sampling normal distribution. More... | |
| struct | NormalDistributionFunctions |
| class | NormalDistribution |
| struct | randn |
| Functor to generate random numbers from a normal distribution. More... | |
| struct | randu |
| Functor to generate random numbers from a uniform distribution. More... | |
Functions | |
| template<typename T> | |
| KOKKOS_FUNCTION T | normal_cdf_func (T x, T mean, T stddev) |
| Calculate the cumulative distribution function (CDF) for a normal distribution. | |
| template<typename T> | |
| KOKKOS_FUNCTION T | normal_pdf_func (T x, T mean, T stddev) |
| Calculate the probability density function (PDF) for a normal distribution. | |
| template<typename T> | |
| KOKKOS_FUNCTION T | normal_estimate_func (T u, T mean, T stddev) |
| An estimator for the initial guess that is used in Newton-Raphson method of Inverste Transfrom Sampling. | |
| template<typename T> | |
| KOKKOS_FUNCTION T | uniform_cdf_func (T x) |
| template<typename T> | |
| KOKKOS_FUNCTION T | uniform_pdf_func () |
| template<typename T> | |
| KOKKOS_FUNCTION T | uniform_estimate_func (T u) |
Calculate the cumulative distribution function (CDF) for a normal distribution.
| x | Input value. |
| mean | Mean of the distribution. |
| stddev | Standard deviation of the distribution. |
Definition at line 23 of file NormalDistribution.h.
Referenced by ippl::random::normal_cdf< T >::operator()(), and ippl::random::NormalDistributionFunctions< T >::CDF::operator()().
An estimator for the initial guess that is used in Newton-Raphson method of Inverste Transfrom Sampling.
| x | Input value. |
| mean | Mean of the distribution. |
| stddev | Standard deviation of the distribution. |
Definition at line 52 of file NormalDistribution.h.
Referenced by ippl::random::normal_estimate< T >::operator()(), and ippl::random::NormalDistributionFunctions< T >::Estimate::operator()().
Calculate the probability density function (PDF) for a normal distribution.
| x | Input value. |
| mean | Mean of the distribution. |
| stddev | Standard deviation of the distribution. |
Definition at line 36 of file NormalDistribution.h.
References pi.
Referenced by ippl::random::normal_pdf< T >::operator()(), and ippl::random::NormalDistributionFunctions< T >::PDF::operator()().
Definition at line 18 of file UniformDistribution.h.
Referenced by CustomDistributionFunctions::CDF::operator()().
Definition at line 28 of file UniformDistribution.h.
Definition at line 23 of file UniformDistribution.h.
Referenced by CustomDistributionFunctions::PDF::operator()().