|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.data.filters.KernelUtils
public abstract class KernelUtils
Abstract class that provides utility functions which are useful for kernels.
Constructor Summary | |
---|---|
KernelUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KernelUtils()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |