public static class Novelty.GaussianCheckerboardKernel extends Object implements Novelty.Kernel
| Constructor and Description |
|---|
GaussianCheckerboardKernel(int size) |
| Modifier and Type | Method and Description |
|---|---|
float |
aggregate(Matrix distances)
Maps a collection (usually an array, an
RealAudioBuffer
or a List) to a single float value. |
static Novelty.GaussianCheckerboardKernel |
getInstance(int dimension)
Creates a Gaussian checkerboard kernel with the given dimension.
|
Matrix |
getKernel() |
int |
size()
Size of the (square) kernel.
|
String |
toString() |
public Matrix getKernel()
public static Novelty.GaussianCheckerboardKernel getInstance(int dimension)
dimension - dimension, preferably evenpublic int size()
Novelty.Kernelsize in interface Novelty.Kernelpublic float aggregate(Matrix distances)
FloatAggregateFunctionRealAudioBuffer
or a List) to a single float value.aggregate in interface FloatAggregateFunction<Matrix>distances - collectionCopyright © 2011–2020 tagtraum industries incorporated. All rights reserved.