scalala / Scalala

Scalala has been superseded by dlwh/breeze. Scalala is a high performance numeric linear algebra library for Scala, with rich Matlab-like operators on vectors and matrices; a library of numerical routines; support for plotting.
http://groups.google.com/group/scalala
GNU Lesser General Public License v2.1
298 stars 30 forks source link

Vector Concatenation (Matrix result) #63

Closed krux02 closed 11 years ago

krux02 commented 11 years ago

coming with some with background in matlab and glsl, I know it should be easy to concat two Vectors into a Matrix, but this simple example refuses to compile.

scala> DenseMatrix.horzcat( DenseVectorCol(1,2,3), DenseVectorCol(3,4,5) )

:39: error: type mismatch; found : scalala.tensor.dense.DenseVectorCol[Int] required: scalala.tensor.Matrix[?] DenseMatrix.horzcat( DenseVectorCol(1,2,3), DenseVectorCol(3,4,5) ) ^ :39: error: type mismatch; found : scalala.tensor.dense.DenseVectorCol[Int] required: scalala.tensor.Matrix[?] DenseMatrix.horzcat( DenseVectorCol(1,2,3), DenseVectorCol(3,4,5) )
dlwh commented 11 years ago

Scalala is dead. Use breeze instead: https://github.com/dlwh/breeze/wiki/Quickstart