simple-statistics
Advanced tools
Changelog
2.2.0
permutationHeap
method for computing all permutations of an array.combinations
for combinations without replacementcombinationsReplacement
for combinations with replacementChangelog
2.1.0
bisect
method that implements the bisection method
for root-finding. Thanks Jamie Neubert Pedersen
for the contribution!Changelog
2.0.0
New features:
product
: returns the product of a series of numbersmedianSorted
: exposes the internal method of median
that only operates on sorted arrays and works in constant timemodeSorted
: exposes the internal method of mode
and works
in linear time.Specifications:
Changes:
NaN
instead
of previously a mix of null
and undefined
.sortedUniqueCount
is now called uniqueCountSorted
to
match the other sorted methods, medianSorted
and modeSorted
Fixes:
equalIntervalBreaks
was not exported by index.js
, and now is.Changelog
1.0.1
Fixes:
Housekeeping:
Bundle size optimizations: