Private ns, implementation detail.
Private ns, implementation detail.
(doubles? x)
Returns true iff given double array
Returns true iff given double array
(longs? x)
Returns true iff given long array
Returns true iff given long array
(multi-reduce f init coll)
(multi-reduce f1 init1 f2 init2 coll)
(multi-reduce f1 init1 f2 init2 f3 init3 coll)
Like reduce
but supports separate simultaneous accumulators
as a micro-optimisation when reducing a large collection multiple
times.
Like `reduce` but supports separate simultaneous accumulators as a micro-optimisation when reducing a large collection multiple times.
(percentiles nums)
Returns ?[min p25 p50 p75 p90 p95 p99 max] doubles in:
Returns ?[min p25 p50 p75 p90 p95 p99 max] doubles in: - O(1) for Sorted types (SortedLongs, SortedDoubles), - O(n) or O(n.log_n) otherwise.
(summary-stats nums)
Returns ?MergeableSummaryStats
Returns ?MergeableSummaryStats
(summary-stats-merge mss1)
(summary-stats-merge mss1 mss2)
(summary-stats-merge (summary-stats nums1) (summary-stats nums2)) returns a rough approximation of (summary-stats (merge nums1 nums2))
Useful when you want summary stats for a large set of numbers for which it would be infeasible/expensive to keep all numbers for accurate merging.
(summary-stats-merge (summary-stats nums1) (summary-stats nums2)) returns a rough approximation of (summary-stats (merge nums1 nums2)) Useful when you want summary stats for a large set of numbers for which it would be infeasible/expensive to keep all numbers for accurate merging.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close