(chebyshev-center constraints r)Given a set of constraints, returns the set of constraints altered to refer to the coordinates and radius of the Chebyshev center of the feasible polyhedron indicated by the input set. Uses the provided r argument as the variable identifier for the radius.
Given a set of constraints, returns the set of constraints altered to refer to the coordinates and radius of the Chebyshev center of the feasible polyhedron indicated by the input set. Uses the provided r argument as the variable identifier for the radius.
(dot-product v1 v2)Returns the dot product of two vectors
Returns the dot product of two vectors
(orthagonal constraint d)Return a constraint orthagonal to the provided constraint, with an additional term d inserted, which relates the distance from the original point to the new point.
In other words, transforms:
a'x + c <= 0
to:
a'y + ||a||r + c <= 0
Return a constraint orthagonal to the provided constraint, with an additional term d inserted, which relates the distance from the original point to the new point. In other words, transforms: a'x + c <= 0 to: a'y + ||a||r + c <= 0
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |