Package dk.alexandra.fresco.stat.utils
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.
-
Constructor Details
-
RealUtils
public RealUtils()
-
-
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.
-