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

Detailed description

Symmetric 2d Gaussian distribution

#include <distributions.h>

Public Methods

CUGAR_HOST_DEVICE Gaussian_distribution_symm_2d (const float sigma)
 
CUGAR_HOST_DEVICE Vector2f map (const Vector2f uv) const
 
CUGAR_HOST_DEVICE float density (const Vector2f x) const
 

Constructor & Destructor Documentation

◆ Gaussian_distribution_symm_2d()

CUGAR_HOST_DEVICE cugar::Gaussian_distribution_symm_2d::Gaussian_distribution_symm_2d ( const float  sigma)
inline

constructor

Parameters
sigmavariance

Member Function Documentation

◆ density()

CUGAR_HOST_DEVICE float cugar::Gaussian_distribution_symm_2d::density ( const Vector2f  x) const
inline

probability density function

Parameters
xsample location

◆ map()

CUGAR_HOST_DEVICE Vector2f cugar::Gaussian_distribution_symm_2d::map ( const Vector2f  uv) const
inline

transform a uniformly distributed vector through the distribution

Parameters
uvreal numbers to transform

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