Mitsuhiro Nakamura avatar Mitsuhiro Nakamura committed a8a69df

Modified README. The version is now 0.0.1.

Comments (0)

Files changed (2)

 <!-- -*- markdown -*- -->
 
-sample-utils
-============
+clj-sample-utils
+================
 
 Description
 -----------
 A [Clojure](http://clojure.org/) library for probability sampling.
 Inspired by the functions `sample` and `sample.int` in
 [the R language](http://www.r-project.org/).
+See: <http://bitbucket.org/mnacamura/clj-sample-utils/>
 
 Example
 -------
 Installation
 ------------
 
-1. Download `MersenneTwisterFast.java` from
-[Sean Luke's website](http://www.cs.gmu.edu/~sean/research/).
+Add the dependency to your `project.clj`
+(in case you use [Leiningen](http://github.com/technomancy/leiningen/)
+or [Cake](http://github.com/ninjudd/cake/)):
 
-2. Put `MersenneTwisterFast.java` into `src/jvm/ec/util/`.
-
-3. Execute (in case you use [cake](https://github.com/ninjudd/cake/)):
-
-    cake install
-
-Usage
------
-
-Add the dependency into your `project.clj`:
-
-    [sample-utils "0.0.1-SNAPSHOT"]
+    [clj-sample-utils "0.0.1"]
 
 Then,
 
     ;; The unsafe version with a Mersenne Twister random number generator.
     (use 'sample-utils.mtf.unsafe)
 
+Build from source
+-----------------
+
+1.  Download `MersenneTwisterFast.java` from
+    [Sean Luke's website](http://www.cs.gmu.edu/~sean/research/).
+
+2.  Put `MersenneTwisterFast.java` into `src/jvm/ec/util/`.
+
+3.  Execute:
+
+    cake jar ; in case you use Cake
+
+    lein jar ; in case you use Leiningen
+
 Contact
 -------
 
-(defproject sample-utils "0.0.1-SNAPSHOT"
-  :description "A library for probability sampling. Inspired by the functions
-               `sample` and `sample.int` in the R language."
+(defproject clj-sample-utils "0.0.1"
+  :description "A Clojure library for probability sampling. Inspired by the
+               functions 'sample' and 'sample.int' in the R language.
+               See: http://bitbucket.org/mnacamura/clj-sample-utils/"
   :dependencies [[clojure "1.2.0"]])
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.