/** * Applies this filter. * Input and output arrays may be the same array. * @param x input array. * @param y output filtered array. */ public void apply(float[] x, float[] y) { updateFilter1(); _ff1.apply(x,y); }
/** * Gets the 1D array of coefficients for this filter. * The origin of the filter is at the center of the array. * @return the array of filter coefficients. */ public float[] getCoefficients1() { updateFilter1(); return copy(_h1); }