API for generic.math-functions - clojure-contrib v1.2 (stable)

by Konrad Hinsen

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.generic.math-functions

Overview

Generic math function interface
This library defines generic versions of common mathematical
functions such as sqrt or sin as multimethods that can be
defined for any type.

Public Variables and Functions



abs

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (abs x)
Return the abs of x.
Source


acos

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (acos x)
Return the acos of x.
Source


approx=

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (approx= x y eps)
Return true if the absolute value of the difference between x and y
is less than eps.
Source


asin

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (asin x)
Return the asin of x.
Source


atan

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (atan x)
Return the atan of x.
Source


atan2

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (atan2 x y)
Return the atan2 of x and y.
Source


ceil

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (ceil x)
Return the ceil of x.
Source


conjugate

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (conjugate x)
Return the conjugate of x.
Source


cos

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (cos x)
Return the cos of x.
Source


exp

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (exp x)
Return the exp of x.
Source


floor

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (floor x)
Return the floor of x.
Source


log

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (log x)
Return the log of x.
Source


pow

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (pow x y)
Return the pow of x and y.
Source


rint

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (rint x)
Return the rint of x.
Source


round

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (round x)
Return the round of x.
Source


sgn

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (sgn x)
Return the sign of x (-1, 0, or 1).
Source


sin

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (sin x)
Return the sin of x.
Source


sqr

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (sqr x)
Return the square of x.
Source


sqrt

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (sqrt x)
Return the sqrt of x.
Source


tan

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (tan x)
Return the tan of x.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.