(average-damp f)Returns a function with average dampening for the given function f.
Returns a function with average dampening for the given function `f`.
(close-enough? x y)(close-enough? x y epsilon)Checks for a difference of a and b which is smaller than epsilon
Checks for a difference of `a` and `b` which is smaller than epsilon
(derivation f)(derivation f dx)Returns a funtion that is the derivation of the function f.
Returns a funtion that is the derivation of the function f.
(difference-quotient f x)(difference-quotient f x dx)Calculates the difference quotient of the function f at x with the delta dx.
Calculates the difference quotient of the function f at x with the delta dx.
(exp-with-base b n)Calculates the exponential function of x with base b.
Calculates the exponential function of `x` with base `b`.
(fixed-point f first-guess)Calculates a fixed point of the function f.
Calculates a fixed point of the function f.
(gcd x y)Calculates the greatest common divisor of x and y
Calculates the greatest common divisor of `x` and `y`
(half-interval f a b)(half-interval f a b epsilon)Half interval method for the function f and values a and b.
Half interval method for the function f and values a and b.
(integral f a b)(integral f a b dx)Calculates the integral of function f between a and b with dx.
Calculates the integral of function f between a and b with dx.
(newton-method f guess)(newton-method f dx guess)Newton method for searching a root of the function f starting with guess.
Newton method for searching a root of the function f starting with guess.
(newton-transform f)(newton-transform f dx)Returns a function which is the newton transfomation of the given function f.
Returns a function which is the newton transfomation of the given function f.
(primes)(primes coll)Returns a lazy sequence of primes.
Returns a lazy sequence of primes.
(prod term a nxt b)Calculates the product of term between a and b with the step function nxt.
Calculates the product of `term` between `a` and `b` with the step function `nxt`.
(quadratic-roots a b c)Returns the roots of the quadratic equation (a * x^2 + b * x + c = 0).
Returns the roots of the quadratic equation (`a` * x^2 + `b` * x + `c` = 0).
(search-value f v low high)(search-value f v low high epsilon)Searches for value by interval search.
Searches for value by interval search.
(search-zero f neg-point pos-point)(search-zero f neg-point pos-point epsilon)Searches for zero by interval search.
Searches for zero by interval search.
(sum term a nxt b)Calculates the sum of term between a and b with the step function nxt.
Calculates the sum of `term` between `a` and `b` with the step function `nxt`.
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 |