simianquant / mathbridge   0.4.0

Apache License 2.0 GitHub

A bridge to shareable mathematical functions

Scala versions: 2.13 2.12
Scala.js versions: 0.6


Build Status Build status Coverage Status Maven Central Scaladoc Join the chat at

Mathbridge adds a thin wrapper over open source mathematical libraries, that aims to bridge the deficiencies in each. As such,

  1. It provides default implementations for the mathematical operators supported by the SimianQuant library
  2. It patches over errors in open source implementations of certain functions (e.g. floor of spire.math.Jet)
  3. It provides single line imports to use spire types

To Use

Add the following line to your build.sbt file:

libraryDependencies += "com.simianquant" %% "mathbridge" % "0.4.0" // scala-jvm