UPDATE:
If you want start Scalala console without explicitly import those package, then maybe you need build a excutable jar directly from the GitHub repo.
The following steps should work:
git clone https://github.com/scalala/Scalala
cd Scalala
./sbt update compile proguard
java -jar target/scala_2.8.1/scalala_2.8.1-1.0.0.RC2-SNAPSHOT.min.jar
And now you should get an Scala console with Scalala package imported by default.
Since the document says the scalala console just a standard Scala console with default package imported.
You could just run sbt
under your project directory, and using console
command to enter Scala console mode.
Finally, type in the following code:
import scalala.scalar._;
import scalala.tensor.::;
import scalala.tensor.mutable._;
import scalala.tensor.dense._;
import scalala.tensor.sparse._;
import scalala.library.Library._;
import scalala.library.LinearAlgebra._;
import scalala.library.Statistics._;
import scalala.library.Plotting._;
import scalala.operators.Implicits._;
Now you should be able to use Scalala just like the document sayas.