Liking cljdoc? Tell your friends :D

provisdom.math.intervals


boundsclj

(bounds)
(bounds [lower upper])
(bounds lower upper)
(bounds [lower upper] open-lower? open-upper?)
(bounds lower upper open-lower? open-upper?)

Default bounds are Inf- to Inf+. Bounds are closed by default.

Default bounds are Inf- to Inf+. Bounds are closed by default.
sourceraw docstring

bounds+clj

source

bounds-finiteclj

source

bounds-finite+clj

source

bounds-finite-non-clj

source

bounds-longclj

source

bounds-long+clj

source

bounds-long-non-clj

source

bounds-non-clj

source

bounds-numclj

source

bounds-open-probclj

source

bounds-probclj

source

encompassing-boundsclj

(encompassing-bounds vector-bounds)

Returns smallest bounds that encompass the bounds in vector-bounds.

Returns smallest bounds that encompass the bounds in `vector-bounds`.
sourceraw docstring

finite-positive-definite-matrix-boundsclj

(finite-positive-definite-matrix-bounds size)

Returns a vector of bounds flattened for a finite symmetric positive matrix.

Returns a vector of bounds flattened for a finite symmetric positive matrix.
sourceraw docstring

get-intervalclj

(get-interval bounds)

Returns Interval from bounds.

Returns Interval from bounds.
sourceraw docstring

in-bounds?clj

(in-bounds? {:provisdom.math.intervals/keys [lower upper open-lower?
                                             open-upper?]}
            number)

Tests whether number is inside of the bounds.

Tests whether `number` is inside of the bounds.
sourceraw docstring

in-interval-roughly?clj

(in-interval-roughly? [lower upper] number accu)

Tests whether number is roughly inside of the interval.

Tests whether `number` is roughly inside of the interval.
sourceraw docstring

in-interval?clj

(in-interval? [lower upper] number)

Tests whether number is inside of the interval.

Tests whether `number` is inside of the interval.
sourceraw docstring

intersectionclj

(intersection vector-bounds)

Returns the bounds intersection or nil.

Returns the bounds intersection or nil.
sourceraw docstring

long-interval-genclj

(long-interval-gen min max)
sourceraw docstring

mdlclj

source

positive-definite-matrix-boundsclj

(positive-definite-matrix-bounds size)

Returns a vector of bounds flattened for a symmetric positive matrix.

Returns a vector of bounds flattened for a symmetric positive matrix.
sourceraw docstring

sort-boundsclj

(sort-bounds vector-bounds)
(sort-bounds vector-bounds
             {:provisdom.math.intervals/keys [by-upper?] :or {by-upper? false}})

Returns a vector of bounds sorted by lower bound first (by default) or upper bound first.

Returns a vector of bounds sorted by lower bound first (by default) or upper
bound first.
sourceraw docstring

unionclj

(union vector-bounds)

Returns a vector of non-overlapping bounds.

Returns a vector of non-overlapping bounds.
sourceraw docstring

vector-boundsclj

(vector-bounds size)
(vector-bounds size bounds)

Returns a vector of bounds.

Returns a vector of bounds.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close