Liking cljdoc? Tell your friends :D

quantus.math


*clj/smultimethod

Returns the product of all the arguments

Returns the product of all the arguments
sourceraw docstring

+clj/smultimethod

Returns the sum of all arguments

Returns the sum of all arguments
sourceraw docstring

-clj/smultimethod

Returns the difference of the first argument and the sum of all rest do the arguments

Returns the difference of the first argument and the
sum of all rest do the arguments
sourceraw docstring

/clj/s

(/ x)
(/ x y)
(/ x y & more)

Return the quotient of the first argument and the product of all other arguments.

Return the quotient of the first argument and the
product of all other arguments. 
sourceraw docstring

<clj/smultimethod

Return true if each argument is smaller than the following ones.

Return true if each argument is smaller than the following ones.
sourceraw docstring

<=clj/smultimethod

Return true if each argument is smaller than or equal to the following ones.

Return true if each argument is smaller than or equal to the following ones.
sourceraw docstring

=clj/smultimethod

Return true if all arguments are equal.

Return true if all arguments are equal.
sourceraw docstring

>clj/smultimethod

Return true if each argument is larger than the following ones.

Return true if each argument is larger than the following ones.
sourceraw docstring

>=clj/smultimethod

Return true if each argument is larger than or equal to the following ones.

Return true if each argument is larger than or equal to the following ones.
sourceraw docstring

absclj/smultimethod

Return the absolute value of x. If x is a BigDecimal, abs takes an optional math-context argument.

Return the absolute value of `x`. If `x` is a BigDecimal, abs takes an
optional `math-context` argument.
sourceraw docstring

approx=clj/s

(approx= x y eps)

Return true if the absolute value of the difference between x and y is less than eps.

Return true if the absolute value of the difference between x and y
is less than eps.
sourceraw docstring

atan2clj/smultimethod

source

cosclj/smultimethod

source

divideclj/smultimethod

Return the quotient of the first argument and the product of all other arguments

Return the quotient of the first argument and the
product of all other arguments
sourceraw docstring

maxclj/s

(max x)
(max x y)
(max x y & more)

Returns the greatest of its arguments.

Returns the greatest of its arguments.
sourceraw docstring

minclj/s

(min x)
(min x y)
(min x y & more)

Returns the least of its arguments.

Returns the least of its arguments.
sourceraw docstring

neg?clj/smultimethod

Return true if x is negative.

Return true if `x` is negative.
sourceraw docstring

not=clj/s

(not= & args)

Equivalent to (not (= ...)).

Equivalent to (not (= ...)).
sourceraw docstring

pos?clj/smultimethod

Return true if x is positive.

Return true if `x` is positive.
sourceraw docstring

roundclj/smultimethod

Returns a rounded value of x. If x is a BigDecimal, a math-context argument is required. If x is a Ratio, it is converted to a Double before rounding. If a x is a Ratio and a math-context is provided, it is converted to a BigDecimal before rounding.

Returns a rounded value of `x`. If `x` is a BigDecimal, a `math-context`
argument is required. If `x` is a Ratio, it is converted to a Double before
rounding. If a `x` is a Ratio and a `math-context` is provided, it is
converted to a BigDecimal before rounding.
sourceraw docstring

sinclj/smultimethod

source

tanclj/smultimethod

source

zero?clj/smultimethod

Return true if x is zero.

Return true if `x` is zero.
sourceraw docstring

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

× close