Although ScalaNLP Breeze says it's for NLP, it's linear algebra library is fairly general and not specialized to NLP. With that said, you could easily do something like this:
val A = new CSCMatrix[Int]()
val B = new CSCMatrix[Int]()
val x = A \ B