-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Scientific Computing with Scala
By :
Adding Breeze to your project is simple. As elsewhere in this book, we will be using SBT to handle our builds. Make a new directory for your project. Then, create a new file called build.sbt and add the following lines to it. You may want to change the versions to whatever the newest or preferred versions of Breeze and Scala are. Otherwise, you can probably just leave it as is:
libraryDependencies ++= Seq( "org.scalanlp" %% "breeze" % "0.11.2", "org.scalanlp" %% "breeze-natives" % "0.11.2", "org.scalanlp" %% "breeze-viz" % "0.11.2" ) scalaVersion := "2.11.5"
To play around with Breeze data structures, we will generally not want to create full programs using it. What we want is to just experiment a bit without committing to start a new project. It would be ideal if we could go into a Scala REPL to try the simple things with the Breeze libraries already loaded...