Liking cljdoc? Tell your friends :D
Clojure only.

rosenbrock.core

In mathematical optimization, the Rosenbrock function is a non-convex function, introduced by Howard H. Rosenbrock in 1960, which is used as a performance test problem for optimization algorithms.

https://en.wikipedia.org/wiki/Rosenbrock_function

In mathematical optimization, the Rosenbrock function is a non-convex function,
introduced by Howard H. Rosenbrock in 1960, which is used as a performance
test problem for optimization algorithms.

https://en.wikipedia.org/wiki/Rosenbrock_function
raw docstring

**2clj

(**2 x)

Uses the numeric tower expt to square a number

Uses the numeric tower expt to square a number
sourceraw docstring

originalclj

(original x y)
(original a b x y)

Original 2D variant of the Rosenbrock function. The parameters a and b are to be fixed, and exploration occurs on x and y. Often these parameters are set such that a is 1 and b is 100, so if no a or b is specified then they are defaulted to that. Otherwise, consider using partial to construct a version with the a and b you wish.

Original 2D variant of the Rosenbrock function.  The parameters `a` and `b` are
to be fixed, and exploration occurs on `x` and `y`.  Often these parameters
are set such that `a` is `1` and `b` is `100`, so if no `a` or `b` is
specified then they are defaulted to that.  Otherwise, consider using
`partial` to construct a version with the `a` and `b` you wish.
sourceraw docstring

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

× close