diff --git a/README.md b/README.md index 475c8fc..eb085c9 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![image](https://readthedocs.org/projects/rings/badge/?version=latest)](https://rings.readthedocs.io) [![image](http://www.javadoc.io/badge/cc.redberry/rings.svg)](http://www.javadoc.io/doc/cc.redberry/rings) [![image](http://www.javadoc.io/badge/cc.redberry/rings.scaladsl_2.12.svg?label=scaladoc)](http://www.javadoc.io/doc/cc.redberry/rings.scaladsl_2.12) -[![image](https://img.shields.io/maven-central/v/cc.redberry/rings/2.svg?style=flat)](https://search.maven.org/#artifactdetails%7Ccc.redberry%7Crings%7C2.3%7Cjar) -[![image](https://img.shields.io/maven-central/v/cc.redberry/rings.scaladsl_2.12/2.svg?style=flat)](https://search.maven.org/#artifactdetails%7Ccc.redberry%7Crings.scaladsl_2.12%7C2.3%7Cjar) +[![image](https://img.shields.io/maven-central/v/cc.redberry/rings/2.svg?style=flat)](https://search.maven.org/#artifactdetails%7Ccc.redberry%7Crings%7C2.3.1%7Cjar) +[![image](https://img.shields.io/maven-central/v/cc.redberry/rings.scaladsl_2.12/2.svg?style=flat)](https://search.maven.org/#artifactdetails%7Ccc.redberry%7Crings.scaladsl_2.12%7C2.3.1%7Cjar) [![image](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat)](https://opensource.org/licenses/Apache-2.0) Rings: efficient Java/Scala library for polynomial rings @@ -27,7 +27,7 @@ The full documentation is available at [](https://r Set up ------ -### Interactive Rings shell +### Interactive Rings shell and Rings scripts To taste what Rings can do, one can try interactive session with [Ammonite REPL](http://ammonite.io). You can install Rings.repl with Homebrew: @@ -47,7 +47,7 @@ Now run Rings.repl: ``` scala $ rings.repl Loading... -Rings 2.3: efficient Java/Scala library for polynomial rings +Rings 2.3.1: efficient Java/Scala library for polynomial rings @ implicit val ring = MultivariateRing(Z, Array("x", "y", "z")) ring: MultivariateRing[IntZ] = MultivariateRing(Z, Array("x", "y", "z"), LEX) @@ -65,12 +65,18 @@ res13: FactorDecomposition[MultivariatePolynomial[IntZ]] = *(z^2-2*y*z+y^2+x^2) ``` +Additionally, Rings.repl can be used to run scripts with Rings code: + +``` +$ rings.repl myRingsScript.sc +``` + ### Java/Scala library Rings is currently available for Java and Scala. To get started with Scala SBT, simply add the following dependence to your `build.sbt` file: ``` scala -libraryDependencies += "cc.redberry" %% "rings.scaladsl" % "2.3" +libraryDependencies += "cc.redberry" %% "rings.scaladsl" % "2.3.1" ``` For using Rings solely in Java there is Maven artifact: @@ -79,7 +85,7 @@ For using Rings solely in Java there is Maven artifact: cc.redberry rings - 2.3 + 2.3.1 ```