Liking cljdoc? Tell your friends :D

bytemap.util

Low-level utility functions for bit manipulation and numeric operations.

Low-level utility functions for bit manipulation and numeric operations.
raw docstring

bar-valueclj/s

(bar-value bins start end)

Weighted average of bins for a bar spanning [start, end).

Weighted average of bins for a bar spanning [start, end).
sourceraw docstring

bin-overlapclj/s

(bin-overlap i start end)

Proportion of bin i overlapping the interval [start, end).

Proportion of bin i overlapping the interval [start, end).
sourceraw docstring

calculate-meanclj/s

(calculate-mean xs)
source

calculate-std-devclj/s

(calculate-std-dev xs & rest)
source

downsample-histogramclj/s

(downsample-histogram bins bar-count)

Reduce bins to bar-count values by weighted averaging.

Reduce `bins` to `bar-count` values by weighted averaging.
sourceraw docstring

format-floatclj/s

(format-float x)

Format a floating point number.

Format a floating point number.
sourceraw docstring

idivclj/s

(idiv a b)

Returns the floor of a divided by b.

Returns the floor of a divided by b.
sourceraw docstring

set-bitclj/s

(set-bit num i value)

Sets or clears bit i in num.

Sets or clears bit i in num.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close