Class WavgFunctionInvoker

  • All Implemented Interfaces:
    FunctionInvoker

    public class WavgFunctionInvoker
    extends Object
    implements FunctionInvoker
    A specialized function invoker for wavg. It takes an even number of arguments; each pair of arguments consists of any ScalarValuedFunction (the value to be averaged,) followed by a numeric constant (the weight of that value.) The ScalarValuedFunctions are arranged into a list, and the numeric constants are arranged into an array of floats. These two resulting data structures are passed to the method in that order.