public abstract class KernelUtils
extends java.lang.Object
Constructor and Description |
---|
KernelUtils() |
Modifier and Type | Method and Description |
---|---|
static Kernel |
getBinomial(double variance)
Returns a Kernel of specified variance with binomial coefficients.
|
static Kernel |
getBinomial(int size)
Returns a Kernel of specified size with binomial coefficients.
|
static Kernel |
getUniform(int size,
int offset,
double value)
Returns a Kernel with the specified size and offset, filled with a
single value.
|
public static Kernel getBinomial(double variance)
variance
- Variance.public static Kernel getBinomial(int size)
size
- Size of the Kernel.public static Kernel getUniform(int size, int offset, double value)
size
- Size.offset
- Offset.value
- Value the Kernel is filled with.