\( f(x,y) = Ae^{-\frac{(y-y_0)^2}{2\sigma_y^2}} \)
More...
\( f(x,y) = Ae^{-\frac{(y-y_0)^2}{2\sigma_y^2}} \)
◆ GaussianY()
dg::GaussianY::GaussianY |
( |
double |
y0, |
|
|
double |
sigma_y, |
|
|
double |
amp |
|
) |
| |
|
inline |
Functor returning a gaussian.
- Parameters
-
y0 | y-center-coordinate |
sigma_y | y - variance (must be !=0) |
amp | Amplitude |
◆ operator()()
DG_DEVICE double dg::GaussianY::operator() |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
Return the value of the gaussian.
\[ f(x,y) = Ae^{-\frac{(y-y_0)^2}{2\sigma_y^2}} \]
- Parameters
-
x | x - coordinate |
y | y - coordinate |
- Returns
- gaussian
The documentation for this struct was generated from the following file: