(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.
(encompassing-bounds vector-bounds)
Returns smallest bounds that encompass the bounds in vector-bounds
.
Returns smallest bounds that encompass the bounds in `vector-bounds`.
(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.
(get-interval bounds)
Returns Interval from bounds.
Returns Interval from bounds.
(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.
(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.
(in-interval? [lower upper] number)
Tests whether number
is inside of the interval.
Tests whether `number` is inside of the interval.
(intersection vector-bounds)
Returns the bounds intersection or nil.
Returns the bounds intersection or nil.
(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.
(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.
(union vector-bounds)
Returns a vector of non-overlapping bounds.
Returns a vector of non-overlapping bounds.
(vector-bounds size)
(vector-bounds size bounds)
Returns a vector of bounds.
Returns a vector of bounds.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close