Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(Math/E); //e
|
||||
(Math/PI); //pi
|
||||
(Math/sqrt x); //square root--cube root also available (cbrt)
|
||||
(Math/log x); //natural logarithm--log base 10 also available (log10)
|
||||
(Math/exp x); //exponential
|
||||
(Math/abs x); //absolute value
|
||||
(Math/floor x); //floor
|
||||
(Math/ceil x); //ceiling
|
||||
(Math/pow x y); //power
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(ns user (:require [clojure.contrib.math :as math]))
|
||||
(math/sqrt x)
|
||||
(math/abs x)
|
||||
(math/floor x)
|
||||
(math/ceil x)
|
||||
(math/expt x y)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
(ns user (:require [clojure.contrib.generic.math-functions :as generic]))
|
||||
(generic/sqrt x)
|
||||
(generic/log x)
|
||||
(generic/exp x)
|
||||
(generic/abs x)
|
||||
(generic/floor x)
|
||||
(generic/ceil x)
|
||||
(generic/pow x y)
|
||||
Loading…
Add table
Add a link
Reference in a new issue