Class SampleNormalDistribution
java.lang.Object
dk.alexandra.fresco.stat.sampling.SampleNormalDistribution
- All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
public class SampleNormalDistribution extends Object implements dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Sample a number from an approximately standard normal distribution. The actual distribution is
Irwin-Hall with n = 12 subtracted by 6.
-
Constructor Summary
Constructors Constructor Description SampleNormalDistribution() -
Method Summary
Modifier and Type Method Description dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric root)
-
Constructor Details
-
SampleNormalDistribution
public SampleNormalDistribution()
-
-
Method Details
-
buildComputation
public dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric root)- Specified by:
buildComputationin interfacedk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
-