Constructor
# new DensityFunction2DRastrigrinFunction(width, height)
Creates a new Rastrigin density function
Parameters:
| Name | Type | Description |
|---|---|---|
width |
number
|
Width of the density grid |
height |
number
|
Height of the density grid |