Liking cljdoc? Tell your friends :D

org.soulspace.math.methods


average-dampclj/s

(average-damp f)

Returns a function with average dampening for the given function.

Returns a function with average dampening for the given function.
sourceraw docstring

close-enough?clj/s

(close-enough? x y)
(close-enough? x y epsilon)

Checks for a difference smaller than epsilon

Checks for a difference smaller than epsilon
sourceraw docstring

derivationclj/s

(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.
sourceraw docstring

difference-quotientclj/s

(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.
sourceraw docstring

expclj/s

(exp b n)

Calculates the exponential function.

Calculates the exponential function.
sourceraw docstring

fixed-pointclj/s

(fixed-point f first-guess)

Calculates a fixed point of the function f.

Calculates a fixed point of the function f.
sourceraw docstring

gcdclj/s

(gcd x y)

Calculates the greatest common divisor of x and y

Calculates the greatest common divisor of x and y
sourceraw docstring

half-intervalclj/s

(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.
sourceraw docstring

integralclj/s

(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.
sourceraw docstring

newton-methodclj/s

(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.
sourceraw docstring

newton-transformclj/s

(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.
sourceraw docstring

primesclj/s

(primes)
(primes coll)

Returns a lazy sequence of primes.

Returns a lazy sequence of primes.
sourceraw docstring

prodclj/s

(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.
sourceraw docstring

quadratic-rootsclj/s

(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).
sourceraw docstring

round-upclj/s

(round-up x n)

Rounds a value.

Rounds a value.
sourceraw docstring

search-valueclj/s

(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.
sourceraw docstring

search-zeroclj/s

(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.
sourceraw docstring

sumclj/s

(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.
sourceraw docstring

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

× close