Class RealUtils

java.lang.Object
dk.alexandra.fresco.stat.utils.RealUtils

public class RealUtils
extends Object
  • Constructor Summary

    Constructors 
    Constructor Description
    RealUtils()  
  • Method Summary

    Modifier and Type Method Description
    static dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> product​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> input, dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
    Compute the product of all elements in the list.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • product

      public static dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> product​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> input, dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
      Compute the product of all elements in the list.
      Parameters:
      input - The list of factors.
      builder - The builder to use.
      Returns:
      The product of all elements in the input list.