Breeze is a library for numerical processing. It aims to be generic, clean, and powerful without sacrificing (much) efficiency.
This is the 2.x branch. The 1.x branch is
The latest release is 2.0.1-RC1, which is cross-built against Scala 3.0, 2.12, and 2.13.
This project can be built with SBT 1.2+
For SBT, add these lines to your SBT project definition:
libraryDependencies ++= Seq( // Last stable release "org.scalanlp" %% "breeze" % "2.0.1-RC1", // The visualization library is distributed separately as well. // It depends on LGPL code "org.scalanlp" %% "breeze-viz" % "2.0.1-RC1" )
Previous versions of Breeze included a "breeze-natives" artifact that bundled various native libraries. As of Breeze 1.3, we now use a faster, more friendly-licensed library from @luhenry called simply "netlib". This library is now bundled by default.
Maven looks like this:
<dependency> <groupId>org.scalanlp</groupId> <artifactId>breeze_2.13</artifactId> <version>2.0.1-RC1</version> </dependency>
[http://mvnrepository.com/artifact/org.scalanlp/breeze_2.12/2.0.1-RC1] (as an example) is a great resource for finding other configuration examples for other build tools.
See documentation (linked above!) for more information on using Breeze.
Breeze is the merger of the ScalaNLP and Scalala projects, because one of the original maintainers is unable to continue development. The Scalala parts are largely rewritten.
(c) David Hall, 2009 -
Portions (c) Daniel Ramage, 2009 - 2011
Corporate (Code) Contributors:
And others (contact David Hall if you've contributed and aren't listed).
Netlib, the new low level BLAS library Breeze uses, in turn uses OpenBLAS by default on Linux, which has some quirky behavior w.r.t. threading. (Please see https://github.com/luhenry/netlib/issues/2). As work arounds:
-Xss10M(set the Java threads' stack size to 10 Mbytes)