Class Enumerated
- java.lang.Object
-
- io.virtdata.continuous.int_double.IntToDoubleContinuousCurve
-
- io.virtdata.continuous.int_double.Enumerated
-
- All Implemented Interfaces:
java.util.function.IntToDoubleFunction
public class Enumerated extends IntToDoubleContinuousCurve
Creates a probability density given the values and optional weights provided, in "value:weight value:weight ..." form. The weight can be elided for any value to use the default weight of 1.0d.- See Also:
- Commons JavaDoc: EnumeratedRealDistribution {@inheritDoc}
-
-
Field Summary
-
Fields inherited from class io.virtdata.continuous.int_double.IntToDoubleContinuousCurve
CLAMP, COMPUTE, HASH, INTERPOLATE, MAP, NOCLAMP
-
-
Constructor Summary
Constructors Constructor Description Enumerated(java.lang.String data, java.lang.String... mods)
-
Method Summary
-
Methods inherited from class io.virtdata.continuous.int_double.IntToDoubleContinuousCurve
applyAsDouble
-
-