Fermat
|
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 |
|
inline |
constructor
sigma | variance |
|
inline |
probability density function
x | sample location |
|
inline |
transform a uniformly distributed vector through the distribution
uv | real numbers to transform |