scalanlp / breeze

Breeze is a numerical processing library for Scala.

Version Matrix

Breeze Build Status

Breeze is a library for numerical processing. It aims to be generic, clean, and powerful without sacrificing (much) efficiency.

The latest release is 1.2, which is cross-built against Scala 2.12 and 2.13.


Using Breeze

Building it yourself

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" % "1.2",
  // Native libraries are not included by default. add this if you want them
  // Native libraries greatly improve performance, but increase jar sizes. 
  // It also packages various blas implementations, which have licenses that may or may not
  // be compatible with the Apache License. No GPL code, as best I know.
  "org.scalanlp" %% "breeze-natives" % "1.2",
  // The visualization library is distributed separately as well.
  // It depends on LGPL code
  "org.scalanlp" %% "breeze-viz" % "1.2"

For more details on the optional breeze-natives module, please watch Sam Halliday's talk at Scala eXchange 2014 High Performance Linear Algebra in Scala (follow along with high-res slides).


Maven looks like this:


Other build tools

[] (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

Contributions from:

  • Jason Zaugg (@retronym)
  • Alexander Lehmann (@afwlehmann)
  • Jonathan Merritt (@lancelet)
  • Keith Stevens (@fozziethebeat)
  • Jason Baldridge (@jasonbaldridge)
  • Timothy Hunter (@tjhunter)
  • Dave DeCaprio (@DaveDeCaprio)
  • Daniel Duckworth (@duckworthd)
  • Eric Christiansen (@emchristiansen)
  • Marc Millstone (@splittingfield)
  • Mérő László (@laci37)
  • Alexey Noskov (@alno)
  • Devon Bryant (@devonbryant)
  • Kentaroh Takagaki (@ktakagaki)
  • Sam Halliday (@fommil)
  • Chris Stucchio (@stucchio)
  • Xiangrui Meng (@mengxr)
  • Gabriel Schubiner (@gabeos)
  • Debasish Das (@debasish83)
  • Julien Dumazert (@DumazertJulien)
  • Matthias Langer (@bashimao)
  • Mohamed Kafsi (@mou7)
  • Max Thomas (@maxthomas)
  • @qilab
  • Weichen Xu (@WeichenXu123)
  • Sergei Lebedev (@superbobry)
  • Zac Blanco (@ZacBlanco)

Corporate (Code) Contributors:

And others (contact David Hall if you've contributed and aren't listed).