T
- The absolute doublescalar typeU
- The unit type usedpublic static class DiscreteDistDoubleScalar.Rel<T extends AbstractDoubleScalarRel<U,T>,U extends Unit<U>> extends AbstractDiscreteDistScalar implements Relative, Serializable
Constructor and Description |
---|
Rel(DistDiscrete distribution,
U unit) |
Rel(long constant,
U unit) |
Modifier and Type | Method and Description |
---|---|
T |
draw() |
String |
toString() |
getDistribution, getUnit
public Rel(DistDiscrete distribution, U unit)
distribution
- DistDiscrete; the wrapped distribution function.unit
- U; the unit.public Rel(long constant, U unit)
constant
- long; the constant value.unit
- U; the unit.public T draw()
public String toString()
toString
in class AbstractDiscreteDistScalar
Copyright © 2014–2019 Delft University of Technology. All rights reserved.