public class UniformDensityComputer extends Object implements DensityGenerator
Constructor and Description |
---|
UniformDensityComputer()
Create a UniformDensityComputer where the density is defined over the unit inteval [0,1].
|
UniformDensityComputer(double min,
double max)
Create a UniformDensityComputer where the density is defined over the interval given
|
public UniformDensityComputer()
public UniformDensityComputer(double min, double max)
min
- max
- public double density(double x)
density
in interface DensityGenerator
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.