Class 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}
    • Constructor Detail

      • Enumerated

        public Enumerated​(java.lang.String data,
                          java.lang.String... mods)