Fermat
Public Methods | List of all members
cugar::Bounded_pareto_distribution Struct Reference

Detailed description

Bounded Pareto distribution

#include <distributions.h>

Inheritance diagram for cugar::Bounded_pareto_distribution:
cugar::Base_distribution< Bounded_pareto_distribution >

Public Methods

CUGAR_HOST_DEVICE Bounded_pareto_distribution (const float a, const float min, const float max)
 
CUGAR_HOST_DEVICE float map (const float U) const
 
CUGAR_HOST_DEVICE float density (const float x) const
 
- Public Methods inherited from cugar::Base_distribution< Bounded_pareto_distribution >
float next (Generator &gen) const
 

Constructor & Destructor Documentation

◆ Bounded_pareto_distribution()

CUGAR_HOST_DEVICE cugar::Bounded_pareto_distribution::Bounded_pareto_distribution ( const float  a,
const float  min,
const float  max 
)
inline

constructor

Parameters
adistribution parameter
mindistribution parameter
maxdistribution parameter

Member Function Documentation

◆ density()

CUGAR_HOST_DEVICE float cugar::Bounded_pareto_distribution::density ( const float  x) const
inline

probability density function

Parameters
xsample location

◆ map()

CUGAR_HOST_DEVICE float cugar::Bounded_pareto_distribution::map ( const float  U) const
inline

transform a uniformly distributed number through the distribution

Parameters
Ureal number to transform

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