Class KahanFunction

    • Constructor Detail

      • KahanFunction

        public KahanFunction()
    • Method Detail

      • execute2

        public abstract void execute2​(KahanObject kObj,
                                      double in)
        Add the given term to the existing sum with a function applied using the Kahan summation algorithm.
        Parameters:
        kObj - A KahanObject containing the current sum and correction factor for the Kahan summation algorithm.
        in - The current term to be added.
      • execute3

        public abstract void execute3​(KahanObject kObj,
                                      double in,
                                      int count)