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

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

#include <prng_extension.hpp>

Collaboration diagram for MC::Distributions::LogNormal< 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

mu
 
sigma
 

Detailed Description

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

Represents a LogNormal (Gaussian) probability distribution.

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

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

Member Function Documentation

◆ draw()

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

◆ mean()

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

◆ skewness()

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

◆ var()

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

Member Data Documentation

◆ mu

◆ sigma


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