summaryrefslogtreecommitdiff
path: root/math-api.html
diff options
context:
space:
mode:
authorTom Faulhaber <git_net@infolace.com>2009-08-08 01:05:55 -0700
committerTom Faulhaber <git_net@infolace.com>2009-08-08 01:05:55 -0700
commitc3ae415e573d3b7b662cd9e2e26f3c21b3450867 (patch)
treee135f6f1c452f395f32114180380e3c9253f26f5 /math-api.html
parente61d6780abaff6a750f56a75d6d68ebace0181df (diff)
Updated documentation for commit db7ac3aa9a5de29ac9c0107a21a790f90104ad3f
Diffstat (limited to 'math-api.html')
-rw-r--r--math-api.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/math-api.html b/math-api.html
index 50a76eb9..a67105b4 100644
--- a/math-api.html
+++ b/math-api.html
@@ -136,7 +136,7 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme
<pre id="var-usage">Usage: (abs n)
</pre>
<pre id="var-docstr">(abs n) is the absolute value of n</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L122" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L122" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/ceil">ceil</h2>
@@ -145,7 +145,7 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme
</pre>
<pre id="var-docstr">(ceil n) returns the least integer greater than or equal to n.
If n is an exact number, ceil returns an integer, otherwise a double.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L141" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L141" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/exact-integer-sqrt">exact-integer-sqrt</h2>
@@ -154,7 +154,7 @@ If n is an exact number, ceil returns an integer, otherwise a double.</pre>
</pre>
<pre id="var-docstr">(exact-integer-sqrt n) expects a non-negative integer n, and returns [s r] where n = s^2+r and n &lt; (s+1)^2. In other words, it returns the floor of the square root and the 'remainder'.
For example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L206" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L206" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/expt">expt</h2>
@@ -163,7 +163,7 @@ For example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6.</pre>
</pre>
<pre id="var-docstr">(expt base pow) is base to the pow power.
Returns an exact number if the base is an exact number and the power is an integer, otherwise returns a double.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L101" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L101" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/floor">floor</h2>
@@ -172,7 +172,7 @@ Returns an exact number if the base is an exact number and the power is an integ
</pre>
<pre id="var-docstr">(floor n) returns the greatest integer less than or equal to n.
If n is an exact number, floor returns an integer, otherwise a double.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L129" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L129" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/gcd">gcd</h2>
@@ -180,7 +180,7 @@ If n is an exact number, floor returns an integer, otherwise a double.</pre>
<pre id="var-usage">Usage: (gcd a b)
</pre>
<pre id="var-docstr">(gcd a b) returns the greatest common divisor of a and b</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L162" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L162" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/lcm">lcm</h2>
@@ -188,7 +188,7 @@ If n is an exact number, floor returns an integer, otherwise a double.</pre>
<pre id="var-usage">Usage: (lcm a b)
</pre>
<pre id="var-docstr">(lcm a b) returns the least common multiple of a and b</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L169" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L169" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/round">round</h2>
@@ -197,7 +197,7 @@ If n is an exact number, floor returns an integer, otherwise a double.</pre>
</pre>
<pre id="var-docstr">(round n) rounds to the nearest integer.
round always returns an integer. Rounds up for values exactly in between two integers.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L153" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L153" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="math/sqrt">sqrt</h2>
@@ -205,7 +205,7 @@ round always returns an integer. Rounds up for values exactly in between two in
<pre id="var-usage">Usage: (sqrt n)
</pre>
<pre id="var-docstr">Square root, but returns exact number if possible.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/math.clj#L215" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/db7ac3aa9a5de29ac9c0107a21a790f90104ad3f/src/clojure/contrib/math.clj#L215" id="var-source">Source</a>
</div>