Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebhoss/math-clj
Common math functions for Clojure
https://github.com/sebhoss/math-clj
Last synced: 14 days ago
JSON representation
Common math functions for Clojure
- Host: GitHub
- URL: https://github.com/sebhoss/math-clj
- Owner: sebhoss
- Created: 2013-07-14T14:46:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-26T16:09:21.000Z (about 11 years ago)
- Last Synced: 2023-10-06T21:54:44.842Z (about 1 year ago)
- Language: Clojure
- Size: 164 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- Contributing: CONTRIBUTING.textile
Awesome Lists containing this project
README
h1. math-clj "!https://travis-ci.org/sebhoss/math-clj.png!":https://travis-ci.org/sebhoss/math-clj "!https://www.ohloh.net/p/math-clj/widgets/project_thin_badge.gif!":https://www.ohloh.net/p/math-clj/
p. Common math related functions, written in Clojure.
h2. Usage
p. The library lives under @com.github.sebhoss@ and is divided into the following namespaces and functions:
h3. math/
p. Various math functions (most from JDK/Math): @e@, @Pi@, @mean@, @abs@, @floor@, @ceil@, @round@, @sgn@, @signum@, @sgn-eq?@, @sgn-different?@, @ln@, @log10@, @exp@, @pow@, @sqrt@, @root@, @sin@, @cos@, @tan@, @asin@, @acos@, @atan@, @sinh@, @cosh@, @tanh@
h3. predicate/
* @(not-nil? x)@ - true if x is not nil, false otherwise
* @(≈ x y epsilon)@ - true if x is within epsilon of y, false otherwise
* @(≈0 x epsilon)@ - true if x is within epsilon of zeroh2. Integration
h3. Maven
bc.
com.github.sebhoss
math-clj
[1.0.0,2.0.0)
h3. Leiningen
bc. [com.github.sebhoss/math-clj "[1.0.0,2.0.0)"]
h2. License
p. This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See "http://www.wtfpl.net/":http://www.wtfpl.net/ for more details.