package hep.aida.tdouble.bin;

/**
 * Interface that represents a function object: a function that takes two bins
 * as arguments and returns a single value.
 */
public interface DoubleBinBinFunction1D {
    /**
     * Applies a function to two bin arguments.
     * 
     * @param x
     *            the first argument passed to the function.
     * @param y
     *            the second argument passed to the function.
     * @return the result of the function.
     */
    abstract public double apply(DynamicDoubleBin1D x, DynamicDoubleBin1D y);
}

 

Ads help maintain this website.