public static class DinucleotideProperty.NoSmoothing extends DinucleotideProperty.Smoothing
DinucleotideProperty.Smoothing
that conducts no smoothing. The static instance DinucleotideProperty.NO_SMOOTHING
should be used instead of constructing new objects.Modifier and Type | Method and Description |
---|---|
double[] |
smooth(double[] original)
Returns the smoothed version of
original . |
String |
toString()
Returns a
String representation of this smoothing method. |
public double[] smooth(double[] original)
DinucleotideProperty.Smoothing
original
. The length of the returned array and original
may differ.smooth
in class DinucleotideProperty.Smoothing
original
- the original series of valuespublic String toString()
DinucleotideProperty.Smoothing
String
representation of this smoothing method.toString
in class DinucleotideProperty.Smoothing