BioCMAMC-ST
MC::Distributions::SkewNormal< F > Struct Template Reference

Represents a SkewNormal (Gaussian) probability distribution. More...

#include <prng_extension.hpp>

Collaboration diagram for MC::Distributions::SkewNormal< F >:
[legend]

Public Member Functions

template<class DeviceType >
KOKKOS_INLINE_FUNCTION F draw (Kokkos::Random_XorShift1024< DeviceType > &gen) const
 
KOKKOS_INLINE_FUNCTION F mean () const
 
KOKKOS_INLINE_FUNCTION F var () const
 
KOKKOS_INLINE_FUNCTION F skewness () const
 

Public Attributes

xi
 
omega
 
alpha
 

Detailed Description

template<FloatingPointType F>
struct MC::Distributions::SkewNormal< F >

Represents a SkewNormal (Gaussian) probability distribution.

The normal distribution is parameterized by a mean, a standard deviation and a skew factor.

Template Parameters
FFloating-point type (must satisfy FloatingPointType).

Member Function Documentation

◆ draw()

template<FloatingPointType F>
template<class DeviceType >
KOKKOS_INLINE_FUNCTION F MC::Distributions::SkewNormal< F >::draw ( Kokkos::Random_XorShift1024< DeviceType > & gen) const
inline

◆ mean()

template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION F MC::Distributions::SkewNormal< F >::mean ( ) const
inline

◆ skewness()

template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION F MC::Distributions::SkewNormal< F >::skewness ( ) const
inline

◆ var()

template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION F MC::Distributions::SkewNormal< F >::var ( ) const
inline

Member Data Documentation

◆ alpha

◆ omega

◆ xi


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