new CenteredGaussianCurve(variance)
Parameters:
Name | Type | Description |
---|---|---|
variance |
The variance of the distribution. |
Methods
-
<static> fromRadius(radius, epsilon)
-
Creates a CenteredGaussianCurve with a given "radius" of influence.
Parameters:
Name Type Description radius
The "radius" of the curve.
epsilon
The minimum value to still be considered within the radius.
Returns:
The curve with the given radius.
-
evaluate()
-
Gets the y-value of the curve at the given x-coordinate.