|
IPPL (Independent Parallel Particle Layer)
IPPL
|
The class that represents a distribution. More...
#include <Distribution.h>
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION | Distribution (const T *par_p) |
| Constructor for the Distribution class. | |
| KOKKOS_INLINE_FUNCTION | ~Distribution () |
| Destructor for the Distribution class. | |
| KOKKOS_INLINE_FUNCTION T | getPdf (T x, unsigned int d) const |
| A wrapper to change the signature arguments of pdf in each dimension d from (x, d, par) to (x, d). | |
| KOKKOS_INLINE_FUNCTION T | getCdf (T x, unsigned int d) const |
| A wrapper to change the signature arguments of cdf in each dimension d from (x, d, par) to (x, d). | |
| KOKKOS_INLINE_FUNCTION T | getEstimate (T x, unsigned int d) const |
| A wrapper to change the signature arguments of estimate in each dimension d from (x, d, par) to (x, d). | |
| KOKKOS_INLINE_FUNCTION T | getObjFunc (T x, unsigned int d, T u) const |
| KOKKOS_INLINE_FUNCTION T | getDerObjFunc (T x, unsigned int d) const |
| KOKKOS_INLINE_FUNCTION T | getFullPdf (ippl::Vector< T, Dim > x) const |
Public Attributes | |
| T | par_m [DimP] |
| DistributionFunctions::PDF | pdf_m |
| DistributionFunctions::CDF | cdf_m |
| DistributionFunctions::Estimate | estimate_m |
The class that represents a distribution.
| T | Datatype. |
| Dim | Dimensionality of sample space. |
| DimP | Dimensionality of the parameter array. |
| Struct type for the PDF (Probability Density Function). | |
| CDF | Struct type for the CDF (Cumulative Distribution Function). |
| ESTIMATE | Struct type for the ESTIMATE function. |
Definition at line 33 of file Distribution.h.
|
inline |
Constructor for the Distribution class.
| par_ | Pointer to the parameter array. |
Definition at line 51 of file Distribution.h.
References par_m.
|
inline |
Destructor for the Distribution class.
Definition at line 61 of file Distribution.h.
|
inline |
A wrapper to change the signature arguments of cdf in each dimension d from (x, d, par) to (x, d).
Definition at line 75 of file Distribution.h.
Referenced by getObjFunc().
|
inline |
Definition at line 100 of file Distribution.h.
References getPdf().
|
inline |
A wrapper to change the signature arguments of estimate in each dimension d from (x, d, par) to (x, d).
Definition at line 83 of file Distribution.h.
References estimate_m, and par_m.
|
inline |
Definition at line 108 of file Distribution.h.
|
inline |
Definition at line 92 of file Distribution.h.
References getCdf().
|
inline |
A wrapper to change the signature arguments of pdf in each dimension d from (x, d, par) to (x, d).
Definition at line 67 of file Distribution.h.
Referenced by getDerObjFunc(), and getFullPdf().
| DistributionFunctions::CDF ippl::random::Distribution< T, Dim, DimP, DistributionFunctions >::cdf_m |
Definition at line 44 of file Distribution.h.
Referenced by getCdf().
| DistributionFunctions::Estimate ippl::random::Distribution< T, Dim, DimP, DistributionFunctions >::estimate_m |
Definition at line 45 of file Distribution.h.
Referenced by getEstimate().
| T ippl::random::Distribution< T, Dim, DimP, DistributionFunctions >::par_m[DimP] |
| par_m | An array of distribution parameters. |
| pdf_m | PDF of the distribution class as a member functor. |
| cdf_m | CDF of the distribution class as a member functor. |
| estimate_m | Estimate of the initial guess for the sampling method as a member functor. |
Definition at line 42 of file Distribution.h.
Referenced by Distribution(), getCdf(), getEstimate(), and getPdf().
| DistributionFunctions::PDF ippl::random::Distribution< T, Dim, DimP, DistributionFunctions >::pdf_m |
Definition at line 43 of file Distribution.h.
Referenced by getPdf().