Mathematical Software Components. This library is actively maintained, and aims to stay updated. New feature proposals are welcome, but may not be included.
Remove deprecated Statistics Kotlin object's oneIn method.
See StatisticsOneInTest commit 5fd05f475ae09cc572482fa98e3099aca358467a for a quick example of how to replace it with the Probability class.
Also view commit 7194b91667d4c836faad1283e431e4fb694a1522 for cool language feature alternative.
Note that the ProbabilityoneIn method implementation throws IllegalArgumentException when input is invalid (input < 1). The StatisticsoneIn method implementation returned false instead.
Upgrade Dependencies
Fix README
Statistics Module
Remove deprecated
Statistics
Kotlin object'soneIn
method. SeeStatisticsOneInTest
commit 5fd05f475ae09cc572482fa98e3099aca358467a for a quick example of how to replace it with theProbability
class. Also view commit 7194b91667d4c836faad1283e431e4fb694a1522 for cool language feature alternative.Note that the
Probability
oneIn
method implementation throwsIllegalArgumentException
when input is invalid (input < 1). TheStatistics
oneIn
method implementation returned false instead.