public class Gaussian extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
LOG2 |
double |
mean |
double |
stdDev |
| Constructor and Description |
|---|
Gaussian(double mean,
double stdDev) |
| Modifier and Type | Method and Description |
|---|---|
long |
decode(BitInputStream in,
long max) |
void |
encode(BitOutputStream out,
long value,
long max) |
static Gaussian |
fromBinomial(double probability,
long totalPopulation) |
static double |
log2(double d) |
public static final double LOG2
public final double mean
public final double stdDev
public static Gaussian fromBinomial(double probability, long totalPopulation)
public static double log2(double d)
public long decode(BitInputStream in, long max) throws IOException
IOExceptionpublic void encode(BitOutputStream out, long value, long max) throws IOException
IOExceptionCopyright © 2019 SimiaCryptus Software. All rights reserved.